diff --git a/.github/actions/general-lints/action.yaml b/.github/actions/general-lints/action.yaml index f023f718bd904..4479b48f500cc 100644 --- a/.github/actions/general-lints/action.yaml +++ b/.github/actions/general-lints/action.yaml @@ -9,7 +9,7 @@ runs: using: composite steps: # Checkout the repository - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. diff --git a/.github/actions/get-latest-docker-image-tag/action.yml b/.github/actions/get-latest-docker-image-tag/action.yml index f42a7062f509d..f0c7940529f2d 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@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.branch }} path: checkout_branch diff --git a/.github/actions/move-tests-compiler-v2/action.yaml b/.github/actions/move-tests-compiler-v2/action.yaml index 6db6fb1b7f50a..a5542ceb8de19 100644 --- a/.github/actions/move-tests-compiler-v2/action.yaml +++ b/.github/actions/move-tests-compiler-v2/action.yaml @@ -9,7 +9,7 @@ runs: using: composite steps: # Checkout the repository and setup the rust toolchain - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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/actions/python-lint-tests/action.yaml b/.github/actions/python-lint-tests/action.yaml index dde931a85575c..d4337bcab4d6a 100644 --- a/.github/actions/python-lint-tests/action.yaml +++ b/.github/actions/python-lint-tests/action.yaml @@ -9,7 +9,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.GIT_SHA }} # Get enough commits to compare to diff --git a/.github/actions/rust-lints/action.yaml b/.github/actions/rust-lints/action.yaml index e4af86b32a101..09b4399455346 100644 --- a/.github/actions/rust-lints/action.yaml +++ b/.github/actions/rust-lints/action.yaml @@ -9,7 +9,7 @@ runs: using: composite steps: # Checkout the repository and setup the rust toolchain - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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/actions/rust-smoke-tests/action.yaml b/.github/actions/rust-smoke-tests/action.yaml index 84695d75ecf8b..d20bf2a58efbd 100644 --- a/.github/actions/rust-smoke-tests/action.yaml +++ b/.github/actions/rust-smoke-tests/action.yaml @@ -9,7 +9,7 @@ runs: using: composite steps: # Checkout the repository and setup the rust toolchain - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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/actions/rust-unit-tests/action.yaml b/.github/actions/rust-unit-tests/action.yaml index 889ff9c45b0fa..b6bc3231c2237 100644 --- a/.github/actions/rust-unit-tests/action.yaml +++ b/.github/actions/rust-unit-tests/action.yaml @@ -9,7 +9,7 @@ runs: using: composite steps: # Checkout the repository and setup the rust toolchain - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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/aptos-node-release.yaml b/.github/workflows/aptos-node-release.yaml index f4c77541de7de..bc784d06fd7eb 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@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.branch }} diff --git a/.github/workflows/cargo-metadata-upload.yaml b/.github/workflows/cargo-metadata-upload.yaml index 2559c67fadcc3..7013fdf3e5a35 100644 --- a/.github/workflows/cargo-metadata-upload.yaml +++ b/.github/workflows/cargo-metadata-upload.yaml @@ -13,7 +13,7 @@ jobs: cargo-metadata: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: dsherret/rust-toolchain-file@v1 - id: auth uses: "google-github-actions/auth@v1" diff --git a/.github/workflows/check-minimum-revision.yaml b/.github/workflows/check-minimum-revision.yaml index 9460df2464522..a8ff5b694a043 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@v4 + - uses: actions/checkout@v3 with: ref: ${{ env.GIT_SHA }} fetch-depth: 1000 diff --git a/.github/workflows/check-protos.yaml b/.github/workflows/check-protos.yaml index 86024531ba666..75f6ad56d89af 100644 --- a/.github/workflows/check-protos.yaml +++ b/.github/workflows/check-protos.yaml @@ -27,7 +27,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 # 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 e9433a8453372..154d00db940a2 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@v4 + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version-file: .node-version @@ -53,7 +53,7 @@ jobs: APTOS_FAUCET_URL: https://faucet.devnet.aptoslabs.com FAUCET_AUTH_TOKEN: ${{ secrets.DEVNET_TAP_AUTH_TOKEN }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: ./.github/actions/python-setup with: diff --git a/.github/workflows/cli-e2e-tests.yaml b/.github/workflows/cli-e2e-tests.yaml index f76c0a5c40ffc..aaa8f215fafdf 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@v4 + - uses: actions/checkout@v3 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 50b44a423c87e..edb70583557aa 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@v4 + - uses: actions/checkout@v3 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ inputs.GIT_SHA }} diff --git a/.github/workflows/cli-release.yaml b/.github/workflows/cli-release.yaml index b974d67ee87c6..33410c877b778 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@v4 + - uses: actions/checkout@v3 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@v4 + - uses: actions/checkout@v3 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@v4 + - uses: actions/checkout@v3 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 3dd336c0c0428..7591c4c3577d6 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@v4 + uses: actions/checkout@v3 # 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 c9596eda0e13f..a38aad9e0d11b 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@v4 + - uses: actions/checkout@v3 - 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/copy-images-to-dockerhub.yaml b/.github/workflows/copy-images-to-dockerhub.yaml index 4836d6fa34a2b..14ac4f2ab56ee 100644 --- a/.github/workflows/copy-images-to-dockerhub.yaml +++ b/.github/workflows/copy-images-to-dockerhub.yaml @@ -31,7 +31,7 @@ jobs: # Run on a machine with more local storage for large docker images runs-on: medium-perf-docker-with-local-ssd steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: aptos-labs/aptos-core/.github/actions/docker-setup@main with: diff --git a/.github/workflows/coverage-move-only.yaml b/.github/workflows/coverage-move-only.yaml index fb2f4321fb38a..487a6df5bd960 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 195bdb56a0cbf..a117b378040bd 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -29,7 +29,7 @@ jobs: timeout-minutes: 720 runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 @@ -53,7 +53,7 @@ jobs: timeout-minutes: 240 runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 @@ -75,7 +75,7 @@ jobs: needs: [ rust-unit-coverage, rust-smoke-coverage ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: name: lcov_unit diff --git a/.github/workflows/cut-release-branch.yaml b/.github/workflows/cut-release-branch.yaml index 5eb8c79352903..46021d7b780f9 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@v4 + - uses: actions/checkout@v3 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 0391539ac27fd..8d5b32b60c86c 100644 --- a/.github/workflows/docker-build-rosetta.yaml +++ b/.github/workflows/docker-build-rosetta.yaml @@ -19,7 +19,7 @@ jobs: build: runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 76630db4469f8..bdaa1cbf5e5dc 100644 --- a/.github/workflows/docker-build-test.yaml +++ b/.github/workflows/docker-build-test.yaml @@ -122,7 +122,7 @@ jobs: outputs: only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Run the file change determinator id: determine_file_changes uses: ./.github/actions/file-change-determinator diff --git a/.github/workflows/docker-indexer-grpc-test.yaml b/.github/workflows/docker-indexer-grpc-test.yaml index 2a480ccde7afb..0d6d10443f253 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@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.GIT_SHA || github.event.pull_request.head.sha || github.sha }} diff --git a/.github/workflows/docker-update-images.yaml b/.github/workflows/docker-update-images.yaml index 84a3954625999..87bc6772293cd 100644 --- a/.github/workflows/docker-update-images.yaml +++ b/.github/workflows/docker-update-images.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Login to Docker Hub uses: docker/login-action@v2 diff --git a/.github/workflows/faucet-tests-main.yaml b/.github/workflows/faucet-tests-main.yaml index ccfaffac40ab3..de47bf6ffcb24 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 a8d06bc606f95..d56211b779d2d 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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@v4 + - uses: actions/checkout@v3 - 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 9501ece091858..42ee5c8f3db93 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 660ed535217b7..7db14dd04ab1d 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@v4 + - uses: actions/checkout@v3 - 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 a6acf73da0dcf..e63a78eb4c13e 100644 --- a/.github/workflows/forge-stable.yaml +++ b/.github/workflows/forge-stable.yaml @@ -46,7 +46,7 @@ jobs: IMAGE_TAG: ${{ steps.get-docker-image-tag.outputs.IMAGE_TAG }} BRANCH: ${{ steps.determine-test-branch.outputs.BRANCH }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 bf33d942d89a1..dc0d6e5eb4d4f 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@v4 + - uses: actions/checkout@v3 - 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 4c9553695cb18..b800d1f6f1074 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@v4 + - uses: actions/checkout@v3 - 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 ea82a0d469b26..e0d013b119335 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@v4 + - uses: actions/checkout@v3 - 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 e298c82ee3905..2fe43beb8017a 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@v4 + - uses: actions/checkout@v3 - 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 d1bc46d01c00b..53afaa9d55439 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@v4 + - uses: actions/checkout@v3 - 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 651669603d93f..56dbeefa84afd 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@v4 + - uses: actions/checkout@v3 - 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 5ef7ead938a45..924ef153d5b10 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@v4 + - uses: actions/checkout@v3 - 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 ed42c4ab600bf..465ce361276d9 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@v4 + - uses: actions/checkout@v3 - 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 b6df15fd54e66..4475d6dc60a7d 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@v4 + - uses: actions/checkout@v3 - 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 bb32af33046e3..34a16ed2833d5 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@v4 + - uses: actions/checkout@v3 - 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 7ddc46d3a45dd..407bec2f47a3f 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@v4 + - uses: actions/checkout@v3 - 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-integration-tests.yaml b/.github/workflows/indexer-grpc-integration-tests.yaml index 88e2475b6083a..2a1d32252b320 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@v4 + - uses: actions/checkout@v3 - 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/links.yml b/.github/workflows/links.yml index ccb77ca91de12..a556b8731c4cc 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@v4 + - uses: actions/checkout@v3 - name: Link Checker id: lychee diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index edadff20eab08..5f06e6884c713 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -31,7 +31,7 @@ jobs: outputs: only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Run the file change determinator id: determine_file_changes uses: ./.github/actions/file-change-determinator @@ -41,7 +41,7 @@ jobs: needs: file_change_determinator runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' - name: Run general lints uses: ./.github/actions/general-lints @@ -57,7 +57,7 @@ jobs: runs-on: high-perf-docker if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main with: @@ -69,7 +69,7 @@ jobs: needs: file_change_determinator runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' - name: Run rust lints uses: ./.github/actions/rust-lints @@ -92,7 +92,7 @@ jobs: ) runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' - name: Run rust smoke tests uses: ./.github/actions/rust-smoke-tests @@ -107,7 +107,7 @@ jobs: needs: file_change_determinator runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' - name: Run rust unit tests uses: ./.github/actions/rust-unit-tests @@ -122,7 +122,7 @@ jobs: runs-on: high-perf-docker if: contains(github.event.pull_request.labels.*.name, 'CICD:build-consensus-only-image') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 @@ -140,7 +140,7 @@ jobs: runs-on: high-perf-docker if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 @@ -158,7 +158,7 @@ jobs: runs-on: high-perf-docker if: contains(github.event.pull_request.labels.*.name, 'CICD:build-consensus-only-image') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main with: GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} @@ -186,7 +186,7 @@ jobs: runs-on: high-perf-docker if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: aptos-labs/aptos-core/.github/actions/rust-setup@main with: GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} diff --git a/.github/workflows/move-test-compiler-v2.yaml b/.github/workflows/move-test-compiler-v2.yaml index e59122f4b2518..f3cffab69de9b 100644 --- a/.github/workflows/move-test-compiler-v2.yaml +++ b/.github/workflows/move-test-compiler-v2.yaml @@ -33,7 +33,7 @@ jobs: rust-move-tests: runs-on: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 d8610cc0064f1..e15aec61b3c6d 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@v4 + - uses: actions/checkout@v3 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 83418794db049..bb8b8d2a10bf7 100644 --- a/.github/workflows/prover-daily-test.yaml +++ b/.github/workflows/prover-daily-test.yaml @@ -25,7 +25,7 @@ jobs: runs-on: high-perf-docker timeout-minutes: ${{ github.event_name == 'pull_request' && 10 || 240}} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 71be7ae5601da..65271424432e2 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@v4 + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version-file: .node-version diff --git a/.github/workflows/python-sdk-publish.yaml b/.github/workflows/python-sdk-publish.yaml index f061b8904b8e4..6629fbc142176 100644 --- a/.github/workflows/python-sdk-publish.yaml +++ b/.github/workflows/python-sdk-publish.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v3 - uses: ./.github/actions/python-setup with: diff --git a/.github/workflows/replay-verify.yaml b/.github/workflows/replay-verify.yaml index f60c68a25d453..65dca71976970 100644 --- a/.github/workflows/replay-verify.yaml +++ b/.github/workflows/replay-verify.yaml @@ -40,7 +40,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@v4 + - uses: actions/checkout@v3 - 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 f7e4de290d6ea..4e08def639f84 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@v4 + - uses: actions/checkout@v3 - 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@v4 + - uses: actions/checkout@v3 with: path: actions diff --git a/.github/workflows/run-gas-calibration.yaml b/.github/workflows/run-gas-calibration.yaml index 2f56bce119224..bf861c8ffd2aa 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 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 ae87014fb49f6..6978366907b10 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - 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 d05dbe2707391..19e8577fb383f 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@v4 + - uses: actions/checkout@v3 - run: semgrep ci env: SEMGREP_RULES: >- diff --git a/.github/workflows/ts-sdk-e2e-tests.yaml b/.github/workflows/ts-sdk-e2e-tests.yaml index 5c4b3d938c344..047534bbe0299 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@v4 + - uses: actions/checkout@v3 - 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: high-perf-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: needs.file_change_determinator.outputs.only_docs_changed != 'true' with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/windows-build.yaml b/.github/workflows/windows-build.yaml index 8667122c48808..3c2a0f2925708 100644 --- a/.github/workflows/windows-build.yaml +++ b/.github/workflows/windows-build.yaml @@ -16,7 +16,7 @@ jobs: run: shell: pwsh steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 # This action will cache ~/.cargo and ./target (or the equivalent on Windows in # this case). See more here: diff --git a/.github/workflows/workflow-run-docker-rust-build.yaml b/.github/workflows/workflow-run-docker-rust-build.yaml index af7345ef4d220..8c868087eabd9 100644 --- a/.github/workflows/workflow-run-docker-rust-build.yaml +++ b/.github/workflows/workflow-run-docker-rust-build.yaml @@ -76,7 +76,7 @@ jobs: rust-all: runs-on: experimental-docker steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: ref: ${{ env.GIT_SHA }} diff --git a/.github/workflows/workflow-run-execution-performance.yaml b/.github/workflows/workflow-run-execution-performance.yaml index 4d2a62b0df8c8..b67eb1c637abf 100644 --- a/.github/workflows/workflow-run-execution-performance.yaml +++ b/.github/workflows/workflow-run-execution-performance.yaml @@ -45,7 +45,7 @@ jobs: outputs: only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Run the file change determinator id: determine_file_changes uses: ./.github/actions/file-change-determinator @@ -56,7 +56,7 @@ jobs: timeout-minutes: 60 runs-on: ${{ inputs.RUNNER_NAME }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.GIT_SHA }} if: needs.file_change_determinator.outputs.only_docs_changed != 'true' diff --git a/.github/workflows/workflow-run-forge.yaml b/.github/workflows/workflow-run-forge.yaml index e102acca5c77c..e5bbfc0e658ce 100644 --- a/.github/workflows/workflow-run-forge.yaml +++ b/.github/workflows/workflow-run-forge.yaml @@ -108,7 +108,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: ${{ inputs.TIMEOUT_MINUTES }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: ${{ !inputs.SKIP_JOB }} with: ref: ${{ inputs.GIT_SHA }} diff --git a/.github/workflows/workflow-run-module-verify.yaml b/.github/workflows/workflow-run-module-verify.yaml index de16bbade2ffe..2dd3a9ac7b0f4 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@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.GIT_SHA }} diff --git a/.github/workflows/workflow-run-replay-verify.yaml b/.github/workflows/workflow-run-replay-verify.yaml index af63a75f2629d..575d3b437f48f 100644 --- a/.github/workflows/workflow-run-replay-verify.yaml +++ b/.github/workflows/workflow-run-replay-verify.yaml @@ -87,7 +87,7 @@ jobs: steps: - name: Echo Runner Number run: echo "Runner is ${{ matrix.number }}" - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: ref: ${{ inputs.GIT_SHA }}