From 58fd6892992bf63814e2ac977ec7ca706704e278 Mon Sep 17 00:00:00 2001 From: Stelian Ionescu Date: Fri, 20 Sep 2024 12:54:44 -0400 Subject: [PATCH] [GHA] Update actions/checkout v3 -> v4 V3 runs on a deprecated version of Node.js (16) and Github has now started forcing Node.js 20. --- .github/actions/get-latest-docker-image-tag/action.yml | 2 +- .github/workflows/aptos-node-release.yaml | 2 +- .github/workflows/check-minimum-revision.yaml | 2 +- .github/workflows/check-protos.yaml | 2 +- .github/workflows/check-sdk-examples.yaml | 2 +- .github/workflows/cli-e2e-tests.yaml | 2 +- .github/workflows/cli-external-deps.yaml | 2 +- .github/workflows/cli-release.yaml | 6 +++--- .github/workflows/codeql-analysis.yaml | 2 +- .github/workflows/copy-images-to-dockerhub-nightly.yaml | 2 +- .github/workflows/coverage-move-only.yaml | 2 +- .github/workflows/coverage.yaml | 6 +++--- .github/workflows/cut-release-branch.yaml | 2 +- .github/workflows/docker-build-rosetta.yaml | 2 +- .github/workflows/docker-build-test.yaml | 4 ++-- .github/workflows/docker-indexer-grpc-test.yaml | 2 +- .github/workflows/faucet-tests-main.yaml | 2 +- .github/workflows/faucet-tests-prod.yaml | 4 ++-- .../find-packages-with-undeclared-feature-dependencies.yaml | 2 +- .github/workflows/forge-pfn.yaml | 2 +- .github/workflows/forge-stable.yaml | 2 +- .github/workflows/forge-unstable.yaml | 2 +- .github/workflows/fullnode-execute-devnet-main.yaml | 2 +- .github/workflows/fullnode-execute-devnet-stable.yaml | 2 +- .github/workflows/fullnode-fast-mainnet-main.yaml | 2 +- .github/workflows/fullnode-fast-mainnet-stable.yaml | 2 +- .github/workflows/fullnode-fast-testnet-main.yaml | 2 +- .github/workflows/fullnode-fast-testnet-stable.yaml | 2 +- .github/workflows/fullnode-intelligent-devnet-main.yaml | 2 +- .github/workflows/fullnode-intelligent-mainnet-main.yaml | 2 +- .github/workflows/fullnode-intelligent-mainnet-stable.yaml | 2 +- .github/workflows/fullnode-intelligent-testnet-main.yaml | 2 +- .../workflows/indexer-grpc-in-memory-cache-benchmark.yaml | 2 +- .github/workflows/indexer-grpc-integration-tests.yaml | 2 +- .github/workflows/keyless-circuit-daily-test.yaml | 2 +- .github/workflows/links.yml | 2 +- .github/workflows/move-test-compiler-v2.yaml | 2 +- .github/workflows/node-api-compatibility-tests.yaml | 2 +- .github/workflows/prover-daily-test.yaml | 2 +- .github/workflows/prune-old-workflow-runs.yaml | 2 +- .github/workflows/replay-verify.yaml | 2 +- .github/workflows/run-fullnode-sync.yaml | 4 ++-- .github/workflows/run-gas-calibration.yaml | 2 +- .github/workflows/rust-client-tests.yaml | 6 +++--- .github/workflows/semgrep.yaml | 2 +- .github/workflows/test-copy-images-to-dockerhub.yaml | 2 +- .github/workflows/ts-sdk-e2e-tests.yaml | 4 ++-- .github/workflows/workflow-run-docker-rust-build.yaml | 2 +- .github/workflows/workflow-run-execution-performance.yaml | 4 ++-- .github/workflows/workflow-run-module-verify.yaml | 2 +- 50 files changed, 61 insertions(+), 61 deletions(-) diff --git a/.github/actions/get-latest-docker-image-tag/action.yml b/.github/actions/get-latest-docker-image-tag/action.yml index f0c7940529f2d..f42a7062f509d 100644 --- a/.github/actions/get-latest-docker-image-tag/action.yml +++ b/.github/actions/get-latest-docker-image-tag/action.yml @@ -18,7 +18,7 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} path: checkout_branch diff --git a/.github/workflows/aptos-node-release.yaml b/.github/workflows/aptos-node-release.yaml index b665ace3f1c68..e0aed3c5ed3df 100644 --- a/.github/workflows/aptos-node-release.yaml +++ b/.github/workflows/aptos-node-release.yaml @@ -19,7 +19,7 @@ jobs: release-aptos-node: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} diff --git a/.github/workflows/check-minimum-revision.yaml b/.github/workflows/check-minimum-revision.yaml index a8ff5b694a043..9460df2464522 100644 --- a/.github/workflows/check-minimum-revision.yaml +++ b/.github/workflows/check-minimum-revision.yaml @@ -20,7 +20,7 @@ jobs: check-minimum-revision: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GIT_SHA }} fetch-depth: 1000 diff --git a/.github/workflows/check-protos.yaml b/.github/workflows/check-protos.yaml index adc7cae232c32..e3f9ac69c8154 100644 --- a/.github/workflows/check-protos.yaml +++ b/.github/workflows/check-protos.yaml @@ -34,7 +34,7 @@ jobs: github.event.pull_request.auto_merge != null ) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Install buf, which we use to generate code from the protos for Rust and TS. - name: Install buf diff --git a/.github/workflows/check-sdk-examples.yaml b/.github/workflows/check-sdk-examples.yaml index b45b52f11267c..bc5e976e3df86 100644 --- a/.github/workflows/check-sdk-examples.yaml +++ b/.github/workflows/check-sdk-examples.yaml @@ -23,7 +23,7 @@ jobs: APTOS_FAUCET_URL: https://faucet.devnet.aptoslabs.com FAUCET_AUTH_TOKEN: ${{ secrets.DEVNET_TAP_AUTH_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version-file: .node-version diff --git a/.github/workflows/cli-e2e-tests.yaml b/.github/workflows/cli-e2e-tests.yaml index 70a1415ba9708..8799874e48cc7 100644 --- a/.github/workflows/cli-e2e-tests.yaml +++ b/.github/workflows/cli-e2e-tests.yaml @@ -30,7 +30,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ inputs.GIT_SHA }} diff --git a/.github/workflows/cli-external-deps.yaml b/.github/workflows/cli-external-deps.yaml index edb70583557aa..50b44a423c87e 100644 --- a/.github/workflows/cli-external-deps.yaml +++ b/.github/workflows/cli-external-deps.yaml @@ -11,7 +11,7 @@ jobs: check-dynamic-deps: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ inputs.GIT_SHA }} diff --git a/.github/workflows/cli-release.yaml b/.github/workflows/cli-release.yaml index 478c606d77980..de2c8ae1b3b09 100644 --- a/.github/workflows/cli-release.yaml +++ b/.github/workflows/cli-release.yaml @@ -25,7 +25,7 @@ jobs: name: "Build Ubuntu 20.04 binary" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.source_git_ref_override }} - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main @@ -41,7 +41,7 @@ jobs: name: "Build Ubuntu 22.04 binary" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.source_git_ref_override }} - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main @@ -57,7 +57,7 @@ jobs: name: "Build Windows binary" runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.source_git_ref_override }} - name: Build CLI diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 7591c4c3577d6..3dd336c0c0428 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/copy-images-to-dockerhub-nightly.yaml b/.github/workflows/copy-images-to-dockerhub-nightly.yaml index a38aad9e0d11b..c9596eda0e13f 100644 --- a/.github/workflows/copy-images-to-dockerhub-nightly.yaml +++ b/.github/workflows/copy-images-to-dockerhub-nightly.yaml @@ -13,7 +13,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/coverage-move-only.yaml b/.github/workflows/coverage-move-only.yaml index a195452d5e0d6..40e29bb0a5dd7 100644 --- a/.github/workflows/coverage-move-only.yaml +++ b/.github/workflows/coverage-move-only.yaml @@ -32,7 +32,7 @@ jobs: timeout-minutes: 60 runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main - name: prepare move lang prover tooling. shell: bash diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 2490c54b30209..d5251473d8ff7 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -29,7 +29,7 @@ jobs: timeout-minutes: 720 runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main @@ -60,7 +60,7 @@ jobs: timeout-minutes: 720 # incremented from 240 due to execution time limit hit in cron runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main @@ -95,7 +95,7 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: name: lcov_unit diff --git a/.github/workflows/cut-release-branch.yaml b/.github/workflows/cut-release-branch.yaml index 46021d7b780f9..5eb8c79352903 100644 --- a/.github/workflows/cut-release-branch.yaml +++ b/.github/workflows/cut-release-branch.yaml @@ -31,7 +31,7 @@ jobs: cut-release-branch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.CUT_RELEASE_BRANCH_CREDENTIALS }} fetch-depth: 0 diff --git a/.github/workflows/docker-build-rosetta.yaml b/.github/workflows/docker-build-rosetta.yaml index 6139c8d8ed194..1aed7aa668014 100644 --- a/.github/workflows/docker-build-rosetta.yaml +++ b/.github/workflows/docker-build-rosetta.yaml @@ -19,7 +19,7 @@ jobs: build: runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/buildx-setup@main diff --git a/.github/workflows/docker-build-test.yaml b/.github/workflows/docker-build-test.yaml index 91a3400944c1c..d7bef88f17670 100644 --- a/.github/workflows/docker-build-test.yaml +++ b/.github/workflows/docker-build-test.yaml @@ -120,7 +120,7 @@ jobs: outputs: only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run the file change determinator id: determine_file_changes uses: ./.github/actions/file-change-determinator @@ -132,7 +132,7 @@ jobs: outputs: run_framework_upgrade_test: ${{ steps.determine_test_targets.outputs.run_framework_upgrade_test }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run the test target determinator id: determine_test_targets uses: ./.github/actions/test-target-determinator diff --git a/.github/workflows/docker-indexer-grpc-test.yaml b/.github/workflows/docker-indexer-grpc-test.yaml index dc78a9dc7697e..8cfb8cf1b1b09 100644 --- a/.github/workflows/docker-indexer-grpc-test.yaml +++ b/.github/workflows/docker-indexer-grpc-test.yaml @@ -23,7 +23,7 @@ jobs: IMAGE_TAG: ${{ inputs.GIT_SHA || 'devnet' }} # hardcode to a known good build when not running on workflow_call steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.GIT_SHA || github.event.pull_request.head.sha || github.sha }} diff --git a/.github/workflows/faucet-tests-main.yaml b/.github/workflows/faucet-tests-main.yaml index 0ca51a2f84708..dafa08ff5927b 100644 --- a/.github/workflows/faucet-tests-main.yaml +++ b/.github/workflows/faucet-tests-main.yaml @@ -51,7 +51,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests') runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/faucet-tests-prod.yaml b/.github/workflows/faucet-tests-prod.yaml index 940ef883a1e20..c731966c09015 100644 --- a/.github/workflows/faucet-tests-prod.yaml +++ b/.github/workflows/faucet-tests-prod.yaml @@ -39,7 +39,7 @@ jobs: needs: [permission-check] runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -62,7 +62,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} diff --git a/.github/workflows/find-packages-with-undeclared-feature-dependencies.yaml b/.github/workflows/find-packages-with-undeclared-feature-dependencies.yaml index 45dfe907189b5..0087168d29054 100644 --- a/.github/workflows/find-packages-with-undeclared-feature-dependencies.yaml +++ b/.github/workflows/find-packages-with-undeclared-feature-dependencies.yaml @@ -6,6 +6,6 @@ jobs: find-packages-with-undeclared-feature-dependencies: runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main - run: scripts/find-packages-with-undeclared-feature-dependencies.sh diff --git a/.github/workflows/forge-pfn.yaml b/.github/workflows/forge-pfn.yaml index 7db14dd04ab1d..660ed535217b7 100644 --- a/.github/workflows/forge-pfn.yaml +++ b/.github/workflows/forge-pfn.yaml @@ -40,7 +40,7 @@ jobs: IMAGE_TAG: ${{ steps.get-docker-image-tag.outputs.IMAGE_TAG }} BRANCH: ${{ steps.determine-test-branch.outputs.BRANCH }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Determine branch based on cadence id: determine-test-branch diff --git a/.github/workflows/forge-stable.yaml b/.github/workflows/forge-stable.yaml index f7b3d9ee550e5..316979a9134e1 100644 --- a/.github/workflows/forge-stable.yaml +++ b/.github/workflows/forge-stable.yaml @@ -50,7 +50,7 @@ jobs: BRANCH: ${{ steps.determine-test-branch.outputs.BRANCH }} BRANCH_HASH: ${{ steps.hash-branch.outputs.BRANCH_HASH }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Determine branch based on cadence id: determine-test-branch diff --git a/.github/workflows/forge-unstable.yaml b/.github/workflows/forge-unstable.yaml index bfc926007220e..5ff54030cf475 100644 --- a/.github/workflows/forge-unstable.yaml +++ b/.github/workflows/forge-unstable.yaml @@ -40,7 +40,7 @@ jobs: IMAGE_TAG: ${{ steps.get-docker-image-tag.outputs.IMAGE_TAG }} BRANCH: ${{ steps.determine-test-branch.outputs.BRANCH }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Determine branch based on cadence id: determine-test-branch diff --git a/.github/workflows/fullnode-execute-devnet-main.yaml b/.github/workflows/fullnode-execute-devnet-main.yaml index b800d1f6f1074..4c9553695cb18 100644 --- a/.github/workflows/fullnode-execute-devnet-main.yaml +++ b/.github/workflows/fullnode-execute-devnet-main.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-execute-devnet-stable.yaml b/.github/workflows/fullnode-execute-devnet-stable.yaml index e0d013b119335..ea82a0d469b26 100644 --- a/.github/workflows/fullnode-execute-devnet-stable.yaml +++ b/.github/workflows/fullnode-execute-devnet-stable.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-fast-mainnet-main.yaml b/.github/workflows/fullnode-fast-mainnet-main.yaml index 2fe43beb8017a..e298c82ee3905 100644 --- a/.github/workflows/fullnode-fast-mainnet-main.yaml +++ b/.github/workflows/fullnode-fast-mainnet-main.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-fast-mainnet-stable.yaml b/.github/workflows/fullnode-fast-mainnet-stable.yaml index 53afaa9d55439..d1bc46d01c00b 100644 --- a/.github/workflows/fullnode-fast-mainnet-stable.yaml +++ b/.github/workflows/fullnode-fast-mainnet-stable.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-fast-testnet-main.yaml b/.github/workflows/fullnode-fast-testnet-main.yaml index 56dbeefa84afd..651669603d93f 100644 --- a/.github/workflows/fullnode-fast-testnet-main.yaml +++ b/.github/workflows/fullnode-fast-testnet-main.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-fast-testnet-stable.yaml b/.github/workflows/fullnode-fast-testnet-stable.yaml index 924ef153d5b10..5ef7ead938a45 100644 --- a/.github/workflows/fullnode-fast-testnet-stable.yaml +++ b/.github/workflows/fullnode-fast-testnet-stable.yaml @@ -17,7 +17,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-intelligent-devnet-main.yaml b/.github/workflows/fullnode-intelligent-devnet-main.yaml index 465ce361276d9..ed42c4ab600bf 100644 --- a/.github/workflows/fullnode-intelligent-devnet-main.yaml +++ b/.github/workflows/fullnode-intelligent-devnet-main.yaml @@ -18,7 +18,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-intelligent-mainnet-main.yaml b/.github/workflows/fullnode-intelligent-mainnet-main.yaml index 4475d6dc60a7d..b6df15fd54e66 100644 --- a/.github/workflows/fullnode-intelligent-mainnet-main.yaml +++ b/.github/workflows/fullnode-intelligent-mainnet-main.yaml @@ -18,7 +18,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-intelligent-mainnet-stable.yaml b/.github/workflows/fullnode-intelligent-mainnet-stable.yaml index 34a16ed2833d5..bb32af33046e3 100644 --- a/.github/workflows/fullnode-intelligent-mainnet-stable.yaml +++ b/.github/workflows/fullnode-intelligent-mainnet-stable.yaml @@ -18,7 +18,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/fullnode-intelligent-testnet-main.yaml b/.github/workflows/fullnode-intelligent-testnet-main.yaml index 407bec2f47a3f..7ddc46d3a45dd 100644 --- a/.github/workflows/fullnode-intelligent-testnet-main.yaml +++ b/.github/workflows/fullnode-intelligent-testnet-main.yaml @@ -18,7 +18,7 @@ jobs: check-repo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/indexer-grpc-in-memory-cache-benchmark.yaml b/.github/workflows/indexer-grpc-in-memory-cache-benchmark.yaml index c3548c30b085c..5f8028973ef48 100644 --- a/.github/workflows/indexer-grpc-in-memory-cache-benchmark.yaml +++ b/.github/workflows/indexer-grpc-in-memory-cache-benchmark.yaml @@ -8,7 +8,7 @@ jobs: run-indexer-grpc-in-memory-cache-benchmark: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install grpcurl run: curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.8.7/grpcurl_1.8.7_linux_x86_64.tar.gz" | sudo tar -xz -C /usr/local/bin - name: Rust setup diff --git a/.github/workflows/indexer-grpc-integration-tests.yaml b/.github/workflows/indexer-grpc-integration-tests.yaml index 4a1c2aa93b181..e9d733718312b 100644 --- a/.github/workflows/indexer-grpc-integration-tests.yaml +++ b/.github/workflows/indexer-grpc-integration-tests.yaml @@ -39,7 +39,7 @@ jobs: IMAGE_TAG: devnet steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install grpcurl run: curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.8.7/grpcurl_1.8.7_linux_x86_64.tar.gz" | sudo tar -xz -C /usr/local/bin diff --git a/.github/workflows/keyless-circuit-daily-test.yaml b/.github/workflows/keyless-circuit-daily-test.yaml index 8fecb6df2c516..8ddc60e6dfe95 100644 --- a/.github/workflows/keyless-circuit-daily-test.yaml +++ b/.github/workflows/keyless-circuit-daily-test.yaml @@ -23,7 +23,7 @@ jobs: runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. - uses: ./.github/actions/rust-setup diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index a556b8731c4cc..ccb77ca91de12 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -17,7 +17,7 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Link Checker id: lychee diff --git a/.github/workflows/move-test-compiler-v2.yaml b/.github/workflows/move-test-compiler-v2.yaml index 449892ab72f59..047acb6fa44ae 100644 --- a/.github/workflows/move-test-compiler-v2.yaml +++ b/.github/workflows/move-test-compiler-v2.yaml @@ -28,7 +28,7 @@ jobs: rust-move-tests: runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run Aptos Move tests with compiler V2 uses: ./.github/actions/move-tests-compiler-v2 with: diff --git a/.github/workflows/node-api-compatibility-tests.yaml b/.github/workflows/node-api-compatibility-tests.yaml index 0593a7ec533a9..cc22104c26139 100644 --- a/.github/workflows/node-api-compatibility-tests.yaml +++ b/.github/workflows/node-api-compatibility-tests.yaml @@ -48,7 +48,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/prover-daily-test.yaml b/.github/workflows/prover-daily-test.yaml index 5ed59ec538937..fcaece5daf22b 100644 --- a/.github/workflows/prover-daily-test.yaml +++ b/.github/workflows/prover-daily-test.yaml @@ -25,7 +25,7 @@ jobs: runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} timeout-minutes: ${{ github.event_name == 'pull_request' && 10 || 480}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. - uses: ./.github/actions/move-prover-setup diff --git a/.github/workflows/prune-old-workflow-runs.yaml b/.github/workflows/prune-old-workflow-runs.yaml index 8f715eb35b543..e7e736f195c72 100644 --- a/.github/workflows/prune-old-workflow-runs.yaml +++ b/.github/workflows/prune-old-workflow-runs.yaml @@ -16,7 +16,7 @@ jobs: if: github.repository == 'aptos-labs/aptos-core' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version-file: .node-version diff --git a/.github/workflows/replay-verify.yaml b/.github/workflows/replay-verify.yaml index 9ea1791265993..bd39bf3e6ec80 100644 --- a/.github/workflows/replay-verify.yaml +++ b/.github/workflows/replay-verify.yaml @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: # checkout the repo first, so check-aptos-core can use it and cancel the workflow if necessary - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/check-aptos-core with: cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork diff --git a/.github/workflows/run-fullnode-sync.yaml b/.github/workflows/run-fullnode-sync.yaml index 0b5d27b6f9722..82295e882bc77 100644 --- a/.github/workflows/run-fullnode-sync.yaml +++ b/.github/workflows/run-fullnode-sync.yaml @@ -60,7 +60,7 @@ jobs: runs-on: medium-perf-docker-with-local-ssd timeout-minutes: ${{ inputs.TIMEOUT_MINUTES || 300 }} # the default run is 300 minutes (5 hours). Specified here because workflow_dispatch uses string rather than number steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/fullnode-sync with: @@ -105,6 +105,6 @@ jobs: # Because we have to checkout the actions and then check out a different # git ref, it's possible the actions directory will be modified. So, we # need to check it out again for the Post Run actions/checkout to succeed. - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: actions diff --git a/.github/workflows/run-gas-calibration.yaml b/.github/workflows/run-gas-calibration.yaml index 1f91062a4f633..9d613140b8a13 100644 --- a/.github/workflows/run-gas-calibration.yaml +++ b/.github/workflows/run-gas-calibration.yaml @@ -27,7 +27,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests') runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main diff --git a/.github/workflows/rust-client-tests.yaml b/.github/workflows/rust-client-tests.yaml index 0b5ce8e5a9c9a..d612fc824c546 100644 --- a/.github/workflows/rust-client-tests.yaml +++ b/.github/workflows/rust-client-tests.yaml @@ -33,7 +33,7 @@ jobs: needs: [permission-check] runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -52,7 +52,7 @@ jobs: needs: [permission-check] runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -71,7 +71,7 @@ jobs: needs: [permission-check] runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 19e8577fb383f..d05dbe2707391 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -20,7 +20,7 @@ jobs: if: (github.actor != 'dependabot[bot]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: semgrep ci env: SEMGREP_RULES: >- diff --git a/.github/workflows/test-copy-images-to-dockerhub.yaml b/.github/workflows/test-copy-images-to-dockerhub.yaml index b488d771f04c4..25c9e8387fa23 100644 --- a/.github/workflows/test-copy-images-to-dockerhub.yaml +++ b/.github/workflows/test-copy-images-to-dockerhub.yaml @@ -18,7 +18,7 @@ jobs: test-copy-images: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version-file: .node-version diff --git a/.github/workflows/ts-sdk-e2e-tests.yaml b/.github/workflows/ts-sdk-e2e-tests.yaml index c906451abd78b..f31f0c9e2a875 100644 --- a/.github/workflows/ts-sdk-e2e-tests.yaml +++ b/.github/workflows/ts-sdk-e2e-tests.yaml @@ -44,7 +44,7 @@ jobs: outputs: only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run the file change determinator id: determine_file_changes uses: ./.github/actions/file-change-determinator @@ -55,7 +55,7 @@ jobs: needs: [permission-check, file_change_determinator] runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/workflow-run-docker-rust-build.yaml b/.github/workflows/workflow-run-docker-rust-build.yaml index c21a5e10710bb..50e6e14ee1963 100644 --- a/.github/workflows/workflow-run-docker-rust-build.yaml +++ b/.github/workflows/workflow-run-docker-rust-build.yaml @@ -75,7 +75,7 @@ jobs: rust-all: runs-on: runs-on,cpu=64,family=c7,hdd=1024,image=aptos-ubuntu-x64,run-id=${{ github.run_id }},spot=co steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/workflow-run-execution-performance.yaml b/.github/workflows/workflow-run-execution-performance.yaml index 48c5c1ee6ff6b..086b59b700d3d 100644 --- a/.github/workflows/workflow-run-execution-performance.yaml +++ b/.github/workflows/workflow-run-execution-performance.yaml @@ -55,7 +55,7 @@ jobs: outputs: run_execution_performance_test: ${{ steps.determine_test_targets.outputs.run_execution_performance_test }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run the test target determinator id: determine_test_targets uses: ./.github/actions/test-target-determinator @@ -66,7 +66,7 @@ jobs: timeout-minutes: 60 runs-on: ${{ inputs.RUNNER_NAME }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.GIT_SHA }} if: ${{ inputs.IGNORE_TARGET_DETERMINATION || needs.test-target-determinator.outputs.run_execution_performance_test == 'true' }} diff --git a/.github/workflows/workflow-run-module-verify.yaml b/.github/workflows/workflow-run-module-verify.yaml index 2dd3a9ac7b0f4..de16bbade2ffe 100644 --- a/.github/workflows/workflow-run-module-verify.yaml +++ b/.github/workflows/workflow-run-module-verify.yaml @@ -38,7 +38,7 @@ jobs: timeout-minutes: ${{ inputs.TIMEOUT_MINUTES }} runs-on: ${{ inputs.RUNS_ON }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.GIT_SHA }}