Prechádzať zdrojové kódy

cicd: upgrade github actions quite considerably

jamesread 3 rokov pred
rodič
commit
8a7bf7d565
1 zmenil súbory, kde vykonal 6 pridanie a 6 odobranie
  1. 6 6
      .github/workflows/build-snapshot.yml

+ 6 - 6
.github/workflows/build-snapshot.yml

@@ -11,34 +11,34 @@ jobs:
 
 
       - name: Set up QEMU
       - name: Set up QEMU
         id: qemu
         id: qemu
-        uses: docker/setup-qemu-action@v1
+        uses: docker/setup-qemu-action@v2
         with:
         with:
           image: tonistiigi/binfmt:latest
           image: tonistiigi/binfmt:latest
           platforms: arm64,arm
           platforms: arm64,arm
 
 
       - name: Setup Go
       - name: Setup Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with: 
         with: 
-          go-version: '^1.16.0'
+          go-version: '>=1.18.0'
 
 
       - name: grpc
       - name: grpc
         run: make grpc
         run: make grpc
 
 
       - name: goreleaser
       - name: goreleaser
-        uses: goreleaser/goreleaser-action@v2
+        uses: goreleaser/goreleaser-action@v3
         with: 
         with: 
           distribution: goreleaser
           distribution: goreleaser
           version: latest
           version: latest
           args: release --snapshot --rm-dist
           args: release --snapshot --rm-dist
 
 
       - name: Archive binaries
       - name: Archive binaries
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3.1.0
         with: 
         with: 
           name: dist
           name: dist
           path: dist/OliveTin*.*
           path: dist/OliveTin*.*
 
 
       - name: Archive integration tests
       - name: Archive integration tests
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3.1.0
         with: 
         with: 
           name: integration-tests
           name: integration-tests
           path: integration-tests
           path: integration-tests