From 5c3a880ebe7a2e4aa35ac51eb11b5602afa07c5e Mon Sep 17 00:00:00 2001 From: Wayback Archiver <66856220+waybackarchiver@users.noreply.github.com> Date: Sun, 20 Mar 2022 12:55:29 +0000 Subject: [PATCH] Bump actions/* from v2 to v3 --- .github/workflows/builder.yml | 20 ++++++++++---------- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/docker.yml | 2 +- .github/workflows/linter.yml | 5 +++++ .github/workflows/release.yml | 24 ++++++++++++------------ .github/workflows/snapcraft.yml | 2 +- .github/workflows/testing.yml | 4 ++-- 7 files changed, 33 insertions(+), 28 deletions(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 2687e2ee..091e92d8 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -96,9 +96,9 @@ jobs: GOMIPSLE: ${{ matrix.mipsle }} steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.18 - name: Check out code base if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' @@ -141,7 +141,7 @@ jobs: echo "::set-output name=filename::${{ env.PRODUCT }}-${ARGS}" - name: Upload binary artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ steps.builder.outputs.filename }} path: ./build/binary/${{ env.PRODUCT }}* @@ -196,7 +196,7 @@ jobs: echo "::set-output name=filename::${{ env.PRODUCT }}-deb-${PKG_ARCH}" - name: Upload archived binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ steps.builder.outputs.filename }} path: build/package/${{ env.PRODUCT }}*.deb @@ -223,7 +223,7 @@ jobs: run: make rpm - name: Upload archived binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }}-rpm path: build/package/${{ env.PRODUCT }}*.rpm @@ -255,7 +255,7 @@ jobs: make volume - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }}-aur path: | @@ -291,7 +291,7 @@ jobs: snapcraft-channel: edge - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }}-snap path: ${{ steps.build.outputs.snap }} @@ -328,9 +328,9 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.18 - name: Setup Flatpak run: | @@ -357,7 +357,7 @@ jobs: mv $GITHUB_WORKSPACE/org.wabarc.wayback_${VERSION}_x86_64.flatpak $GITHUB_WORKSPACE/org.wabarc.wayback-${VERSION}.x86_64.flatpak - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }}-flatpak path: org.wabarc.wayback-*.x86_64.flatpak diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cea0f13b..8f4750fe 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -109,9 +109,9 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.16 + go-version: ^1.18 - name: Write Go module list run: go list -json -m all > go.list diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3f33fe12..334dd042 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -124,7 +124,7 @@ jobs: docker image inspect ${{ steps.prep.outputs.ghcr }}:${{ steps.meta.outputs.version }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wayback path: ./dist/* diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a5d1344a..2c275f30 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -58,6 +58,11 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Set up Go 1.x + uses: actions/setup-go@v3 + with: + go-version: ^1.18 + - name: Golang linter uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0629b496..a3f14763 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,9 +86,9 @@ jobs: fetch-depth: 0 - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.18 - name: Build fat binary id: builder @@ -110,7 +110,7 @@ jobs: run: make TARGET=${{ steps.builder.outputs.args }} releases - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: build/package/${{ env.PRODUCT }}* @@ -155,7 +155,7 @@ jobs: make debian DEB_IMG_ARCH=${OS_ARCH} PKG_ARCH=${PKG_ARCH} - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: build/package/${{ env.PRODUCT }}*.deb @@ -173,7 +173,7 @@ jobs: run: make rpm - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: build/package/${{ env.PRODUCT }}*.rpm @@ -195,7 +195,7 @@ jobs: make volume - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: | @@ -233,7 +233,7 @@ jobs: snapcraft-channel: stable - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: ${{ steps.build.outputs.snap }} @@ -248,9 +248,9 @@ jobs: fetch-depth: 0 - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.18 - name: Setup Flatpak run: | @@ -277,7 +277,7 @@ jobs: mv $GITHUB_WORKSPACE/org.wabarc.wayback_${VERSION}_x86_64.flatpak $GITHUB_WORKSPACE/org.wabarc.wayback-${VERSION}.x86_64.flatpak - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: org.wabarc.wayback-*.x86_64.flatpak @@ -307,7 +307,7 @@ jobs: echo "${digest}" > "${{ env.PRODUCT }}-${version}-checksums.txt" - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PRODUCT }} path: ${{ env.PRODUCT }}-*-checksums.txt @@ -344,7 +344,7 @@ jobs: ' >> gittaglogs.txt - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: release-note path: release-note.md diff --git a/.github/workflows/snapcraft.yml b/.github/workflows/snapcraft.yml index 3846478d..1ee10ab0 100644 --- a/.github/workflows/snapcraft.yml +++ b/.github/workflows/snapcraft.yml @@ -37,7 +37,7 @@ jobs: snapcraft-channel: stable - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wayback-snap path: ${{ steps.build.outputs.snap }} diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1a9c1664..77385627 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -43,7 +43,7 @@ jobs: RECVER_PWD: ${{ secrets.MATRIX_RECVER_PWD }} steps: - name: Set up Go ${{ matrix.go }}.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} @@ -138,7 +138,7 @@ jobs: shell: bash - name: Upload coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage-${{ matrix.os }} path: coverage.*