From d018f3ec324922e31822b187395210e707c73792 Mon Sep 17 00:00:00 2001 From: Fraz Arshad Date: Fri, 23 Aug 2024 14:07:52 +0500 Subject: [PATCH] test: update versions for github actions --- .github/actions/restore-golang/action.yml | 2 +- .github/actions/restore-node/action.yml | 2 +- .github/workflows/after-merge.yml | 4 ++-- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/integration.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/restore-golang/action.yml b/.github/actions/restore-golang/action.yml index 66f762f0020..2623e455874 100644 --- a/.github/actions/restore-golang/action.yml +++ b/.github/actions/restore-golang/action.yml @@ -21,7 +21,7 @@ runs: path: ${{ inputs.path }} clean: 'false' submodules: 'true' - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: cache-dependency-path: ${{ inputs.path }}/golang/cosmos/go.sum go-version: ${{ inputs.go-version }} diff --git a/.github/actions/restore-node/action.yml b/.github/actions/restore-node/action.yml index b93feb5bf87..0ca3a9db6cc 100644 --- a/.github/actions/restore-node/action.yml +++ b/.github/actions/restore-node/action.yml @@ -183,7 +183,7 @@ runs: date > node_modules/.cache/agoric/yarn-built - name: Validate Git Tree Cleanliness - uses: pyTooling/Actions/with-post-step@v0.4.5 + uses: pyTooling/Actions/with-post-step@v1.0.7 with: main: | bash "$SRC/.github/actions/restore-node/check-git-status.sh" "$SRC" "$IGNORE_DIRTY_YARN_LOCK" diff --git a/.github/workflows/after-merge.yml b/.github/workflows/after-merge.yml index 7e5ad81b603..1c8747d8cee 100644 --- a/.github/workflows/after-merge.yml +++ b/.github/workflows/after-merge.yml @@ -109,7 +109,7 @@ jobs: run: 'yarn test:c8-all || :' - name: generate coverage/html reports run: mkdir -p coverage/tmp && yarn c8 report --reporter=html-spa --reports-dir=coverage/html --temp-directory=coverage/tmp - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: coverage path: coverage @@ -153,7 +153,7 @@ jobs: env: AUTOBENCH_METRICS_URL: ${{ secrets.AUTOBENCH_METRICS_URL }} run: cd packages/swingset-runner && yarn ci:autobench - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: benchmarkstats.json path: packages/swingset-runner/benchstats*.json diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ffa5ed10c71..8236bb04b55 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -23,7 +23,7 @@ jobs: mode: [no-failure] steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: '>=1.20' cache: false diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 51c231f665b..2590ef712a3 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -203,7 +203,7 @@ jobs: echo yes | ../agoric-sdk/packages/deployment/scripts/setup.sh destroy || true env: NETWORK_NAME: chaintest - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: deployment-test-results-${{ env.NOW }}