Browse Source

ci: bump version

Miao Wang 11 months ago
parent
commit
fcb8dd5f3a
2 changed files with 14 additions and 14 deletions
  1. 4 4
      .github/workflows/release.yml
  2. 10 10
      .github/workflows/tunasync.yml

+ 4 - 4
.github/workflows/release.yml

@@ -13,10 +13,10 @@ jobs:
     steps:
     steps:
 
 
     - name: Check out code into the Go module directory
     - name: Check out code into the Go module directory
-      uses: actions/checkout@v3
-    
+      uses: actions/checkout@v4
+
     - name: Set up Go 1.18
     - name: Set up Go 1.18
-      uses: actions/setup-go@v4
+      uses: actions/setup-go@v5
       with:
       with:
         go-version: 1.18
         go-version: 1.18
       id: go
       id: go
@@ -25,7 +25,7 @@ jobs:
       run: |
       run: |
         for i in linux-amd64 linux-arm64; do
         for i in linux-amd64 linux-arm64; do
           make ARCH=$i all
           make ARCH=$i all
-          tar -cz --numeric-owner --owner root --group root -f tunasync-$i-bin.tar.gz -C build-$i tunasync tunasynctl 
+          tar -cz --numeric-owner --owner root --group root -f tunasync-$i-bin.tar.gz -C build-$i tunasync tunasynctl
         done
         done
 
 
     - name: Create Release
     - name: Create Release

+ 10 - 10
.github/workflows/tunasync.yml

@@ -10,10 +10,10 @@ jobs:
     steps:
     steps:
 
 
     - name: Check out code into the Go module directory
     - name: Check out code into the Go module directory
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
 
     - name: Set up Go 1.18
     - name: Set up Go 1.18
-      uses: actions/setup-go@v4
+      uses: actions/setup-go@v5
       with:
       with:
         go-version: 1.18
         go-version: 1.18
       id: go
       id: go
@@ -29,7 +29,7 @@ jobs:
         make tunasynctl
         make tunasynctl
 
 
     - name: Keep artifacts
     - name: Keep artifacts
-      uses: actions/upload-artifact@v1
+      uses: actions/upload-artifact@v4
       with:
       with:
         name: tunasync-bin
         name: tunasync-bin
         path: build-linux-amd64/
         path: build-linux-amd64/
@@ -51,10 +51,10 @@ jobs:
         docker pull alpine:3.8
         docker pull alpine:3.8
 
 
     - name: Check out code into the Go module directory
     - name: Check out code into the Go module directory
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
 
     - name: Set up Go 1.18
     - name: Set up Go 1.18
-      uses: actions/setup-go@v4
+      uses: actions/setup-go@v5
       with:
       with:
         go-version: 1.18
         go-version: 1.18
       id: go
       id: go
@@ -89,11 +89,11 @@ jobs:
         run_test_reexec 5 tunasync-exec2
         run_test_reexec 5 tunasync-exec2
 
 
     - name: Set up Docker Buildx
     - name: Set up Docker Buildx
-      uses: docker/setup-buildx-action@v2
+      uses: docker/setup-buildx-action@v3
       with:
       with:
         driver-opts: network=host
         driver-opts: network=host
     - name: Cache Docker layers
     - name: Cache Docker layers
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       if: github.event_name == 'push'
       if: github.event_name == 'push'
       with:
       with:
         path: /tmp/.buildx-cache
         path: /tmp/.buildx-cache
@@ -101,7 +101,7 @@ jobs:
         restore-keys: |
         restore-keys: |
           ${{ runner.os }}-buildx-
           ${{ runner.os }}-buildx-
     - name: Cache Docker layers
     - name: Cache Docker layers
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       if: github.event_name == 'pull_request'
       if: github.event_name == 'pull_request'
       with:
       with:
         path: /tmp/.buildx-cache
         path: /tmp/.buildx-cache
@@ -120,7 +120,7 @@ jobs:
         mkdir -p /tmp/.buildx-cache
         mkdir -p /tmp/.buildx-cache
 
 
     - name: Build Docker image for uml rootfs
     - name: Build Docker image for uml rootfs
-      uses: docker/build-push-action@v3
+      uses: docker/build-push-action@v6
       with:
       with:
         context: .umlrootfs
         context: .umlrootfs
         file: .umlrootfs/Dockerfile
         file: .umlrootfs/Dockerfile
@@ -227,7 +227,7 @@ jobs:
           profile5_*.cov > profile-all.cov
           profile5_*.cov > profile-all.cov
 
 
     - name: Convert coverage to lcov
     - name: Convert coverage to lcov
-      uses: jandelgado/gcov2lcov-action@v1.0.0
+      uses: jandelgado/gcov2lcov-action@v1
       with:
       with:
           infile: profile-all.cov
           infile: profile-all.cov
           outfile: coverage.lcov
           outfile: coverage.lcov