瀏覽代碼

chore: Update build action versions

jamesread 1 月之前
父節點
當前提交
a327cf18b8
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      .github/workflows/build-and-release.yml

+ 6 - 6
.github/workflows/build-and-release.yml

@@ -17,25 +17,25 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
       - name: Set up QEMU
       - name: Set up QEMU
         id: qemu
         id: qemu
-        uses: docker/setup-qemu-action@v3
+        uses: docker/setup-qemu-action@v4
         with:
         with:
           image: tonistiigi/binfmt:latest
           image: tonistiigi/binfmt:latest
           platforms: arm64,arm
           platforms: arm64,arm
 
 
       - name: Setup node
       - name: Setup node
-        uses: actions/setup-node@v4
+        uses: actions/setup-node@v6.4.0
         with:
         with:
           cache: 'npm'
           cache: 'npm'
           cache-dependency-path: frontend/package-lock.json
           cache-dependency-path: frontend/package-lock.json
 
 
       - name: Setup Go
       - name: Setup Go
-        uses: actions/setup-go@v5
+        uses: actions/setup-go@v6
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
@@ -45,7 +45,7 @@ jobs:
         run: go version
         run: go version
 
 
       - name: Login to Docker Hub
       - name: Login to Docker Hub
-        uses: docker/login-action@v3
+        uses: docker/login-action@v4
         with:
         with:
           username: ${{ secrets.DOCKERHUB_USERNAME }}
           username: ${{ secrets.DOCKERHUB_USERNAME }}
           password: ${{ secrets.DOCKERHUB_KEY }}
           password: ${{ secrets.DOCKERHUB_KEY }}
@@ -74,7 +74,7 @@ jobs:
         run: cd integration-tests && make -w
         run: cd integration-tests && make -w
 
 
       - name: Archive integration tests
       - name: Archive integration tests
-        uses: actions/upload-artifact@v4.3.1
+        uses: actions/upload-artifact@v7
         if: always()
         if: always()
         with:
         with:
           name: "OliveTin-integration-tests-${{ env.DATE }}-${{ github.sha }}"
           name: "OliveTin-integration-tests-${{ env.DATE }}-${{ github.sha }}"