Merge pull request #3 from 9IT-Full-Service/renovate/actions-setup-go-6.x [skip ci]
chore(deps): update actions/setup-go action to v6
R
Rüdiger Küpper
<rpr@9it.de>
committete am 19.02.2026 09:04
08f4e4636d6981c72d94d5502351d0be961dc348
| @@ -32,21 +32,21 @@ jobs: | ||
| 32 | 32 | - goos: darwin |
| 33 | 33 | goarch: arm64 |
| 34 | 34 | - goos: windows |
| 35 | 35 | goarch: arm64 |
| 36 | 36 | |
| 37 | 37 | steps: |
| 38 | 38 | - name: Checkout |
| 39 | 39 | uses: actions/checkout@v4 |
| 40 | 40 | |
| 41 | 41 | - name: Setup Go |
| 42 | -uses: actions/setup-go@v5 |
|
| 42 | +uses: actions/setup-go@v6 |
|
| 43 | 43 | with: |
| 44 | 44 | go-version-file: go.mod |
| 45 | 45 | cache: true |
| 46 | 46 | |
| 47 | 47 | - name: Build static binary |
| 48 | 48 | env: |
| 49 | 49 | GOOS: ${{ matrix.goos }} |
| 50 | 50 | GOARCH: ${{ matrix.goarch }} |
| 51 | 51 | CGO_ENABLED: '0' |
| 52 | 52 | run: | |
| @@ -66,32 +66,32 @@ jobs: | ||
| 66 | 66 | tar -czf "dist/${BINARY_NAME}-${GOOS}-${GOARCH}.tar.gz" "${BIN}" |
| 67 | 67 | fi |
| 68 | 68 | |
| 69 | 69 | - name: Generate checksum |
| 70 | 70 | run: | |
| 71 | 71 | cd dist |
| 72 | 72 | sha256sum * > checksums-${{ matrix.goos }}-${{ matrix.goarch }}.txt |
| 73 | 73 | cat checksums-${{ matrix.goos }}-${{ matrix.goarch }}.txt |
| 74 | 74 | |
| 75 | 75 | - name: Upload artifact |
| 76 | -uses: actions/upload-artifact@v4 |
|
| 76 | +uses: actions/upload-artifact@v6 |
|
| 77 | 77 | with: |
| 78 | 78 | name: ${{ env.BINARY_NAME }}-${{ matrix.goos }}-${{ matrix.goarch }} |
| 79 | 79 | path: dist/* |
| 80 | 80 | if-no-files-found: error |
| 81 | 81 | |
| 82 | 82 | release: |
| 83 | 83 | needs: build |
| 84 | 84 | runs-on: ubuntu-latest |
| 85 | 85 | steps: |
| 86 | 86 | - name: Download all artifacts |
| 87 | -uses: actions/download-artifact@v4 |
|
| 87 | +uses: actions/download-artifact@v7 |
|
| 88 | 88 | with: |
| 89 | 89 | path: artifacts |
| 90 | 90 | merge-multiple: true |
| 91 | 91 | |
| 92 | 92 | - name: Merge checksums |
| 93 | 93 | run: | |
| 94 | 94 | cd artifacts |
| 95 | 95 | cat checksums-*.txt > checksums.txt |
| 96 | 96 | rm checksums-*.txt |
| 97 | 97 | echo "=== checksums.txt ===" |