diff --git a/.github/workflows/ci-publish-base-image.yml b/.github/workflows/ci-publish-base-image.yml index 42326f87dc5b..0e6a6f74bf8e 100644 --- a/.github/workflows/ci-publish-base-image.yml +++ b/.github/workflows/ci-publish-base-image.yml @@ -24,7 +24,7 @@ jobs: name: Docker url: https://hub.docker.com/u/diem steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: # This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip # On `push` this value will be empty and will "do-the-right-thing" diff --git a/.github/workflows/ci-test-complete.yml b/.github/workflows/ci-test-complete.yml index 8786fe18cd3c..b1d87f58c48b 100644 --- a/.github/workflows/ci-test-complete.yml +++ b/.github/workflows/ci-test-complete.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion != 'skipped' }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 - name: Download artifacts uses: diem/actions/download-artifacts@a5fa31ff2b54a544cd88ac912cda469742592e6c with: diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index a55db68a11c7..a64886275295 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -34,7 +34,7 @@ jobs: test-non-rust-lint: ${{ steps.non-rust-lint-changes.outputs.changes-found }} test-docker-compose: ${{ steps.docker-compose-changes.outputs.changes-found }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: # This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip # On `push` this value will be empty and will "do-the-right-thing" @@ -132,7 +132,7 @@ jobs: matrix: target_os: [alpine, arch, github] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: build image with dev-setup.sh @@ -151,7 +151,7 @@ jobs: target_images: [client faucet cluster-test, init tools validator validator-tcb] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: fetch-depth: 0 #get all the history!!! - id: changes @@ -215,7 +215,7 @@ jobs: # The last matrix build to succeed will set the output. Hilarious. prev-tag: ${{ steps.build-extra-images.outputs.prev-tag }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -455,7 +455,7 @@ jobs: container: image: diem/build_environment:${{ needs.prepare.outputs.changes-target-branch }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -479,7 +479,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -508,7 +508,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -548,7 +548,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -590,7 +590,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -623,7 +623,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -666,7 +666,7 @@ jobs: FLAKY_TESTS_FILE: /tmp/failures MESSAGE_PAYLOAD_FILE: /tmp/message steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -732,7 +732,7 @@ jobs: needs: prepare if: ${{ needs.prepare.outputs.test-docker-compose == 'true' }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: install expect @@ -755,7 +755,7 @@ jobs: env: JSON_RPC_URL: "http://127.0.0.1:8080" FAUCET_URL: "http://127.0.0.1:8000" - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: diem-core-v1.2.0 # Unfortunately this is spelled wrong in the release branch @@ -775,7 +775,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -797,7 +797,7 @@ jobs: needs: prepare if: ${{ needs.prepare.outputs.test-helm == 'true' }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: Check machine details for minikube @@ -871,7 +871,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -894,7 +894,7 @@ jobs: volumes: - "/home/runner/work/diem/diem:/opt/git/diem" steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -921,7 +921,7 @@ jobs: env: CRITERION_HOME: /tmp/benches steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: actions/cache@v2.1.6 diff --git a/.github/workflows/ci-update-sccache.yml b/.github/workflows/ci-update-sccache.yml index a3b4ea7d0d41..f34310b64f9b 100644 --- a/.github/workflows/ci-update-sccache.yml +++ b/.github/workflows/ci-update-sccache.yml @@ -20,7 +20,7 @@ jobs: name: Sccache runs-on: macos-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: # This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip # On `push` this value will be empty and will "do-the-right-thing" diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index f17692a370de..54ee7b003bc6 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -21,7 +21,7 @@ jobs: env: AUDIT_SUMMARY_FILE: /tmp/summary steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ matrix.target-branch }} - uses: ./.github/actions/build-setup @@ -62,7 +62,7 @@ jobs: CODECOV_OUTPUT: codecov MESSAGE_PAYLOAD_FILE: /tmp/message steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 - uses: ./.github/actions/build-setup - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -107,7 +107,7 @@ jobs: SAS: "" CONFIG: .github/workflows/transaction-replay.toml steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 - uses: ./.github/actions/build-setup - name: install azcopy run: | @@ -149,7 +149,7 @@ jobs: matrix: release-branch: [release-1.2, release-1.3] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ matrix.release-branch }} - uses: ./.github/actions/build-setup @@ -180,7 +180,7 @@ jobs: matrix: target-branch: [main, release-1.2, release-1.3] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: ref: ${{ matrix.target-branch }} - uses: ./.github/actions/build-setup @@ -207,7 +207,7 @@ jobs: name: Docker url: https://hub.docker.com/u/diem steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 - name: sign in to DockerHub; install image signing cert uses: ./.github/actions/dockerhub_login with: diff --git a/.github/workflows/dep-summaries.yml b/.github/workflows/dep-summaries.yml index 66b75ac80711..4a9bd50d7aef 100644 --- a/.github/workflows/dep-summaries.yml +++ b/.github/workflows/dep-summaries.yml @@ -26,7 +26,7 @@ jobs: dep-auditors-list: ${{ steps.dep-auditors.outputs.list }} steps: - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 if: ${{ startsWith(github.event_name, 'pull_request') }} with: ref: ${{ github.event.pull_request.head.sha }} @@ -37,18 +37,18 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: checkout base ref - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 if: ${{ startsWith(github.event_name, 'pull_request') }} with: ref: ${{ steps.fetch-base-ref.outputs.ref }} path: libra-base - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 if: ${{ github.event_name == 'push' }} with: ref: ${{ github.event.after }} - name: checkout base ref - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 if: ${{ github.event_name == 'push' }} with: ref: ${{ github.event.before }} diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index a3262fb4b98d..0daa0939cf01 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -14,7 +14,7 @@ jobs: name: Docker url: https://hub.docker.com/u/diem steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: fetch-depth: 0 #get all the history!!! - id: changes diff --git a/.github/workflows/hyperjump-comment.yml b/.github/workflows/hyperjump-comment.yml index 29dc4f2748e5..3adfcb78c678 100644 --- a/.github/workflows/hyperjump-comment.yml +++ b/.github/workflows/hyperjump-comment.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) comment steps: - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 - name: comment uses: diem/actions/hyperjump-comment@a5fa31ff2b54a544cd88ac912cda469742592e6c with: diff --git a/.github/workflows/hyperjump-labels.yml b/.github/workflows/hyperjump-labels.yml index 5a2131cf1e02..ce101d67c117 100644 --- a/.github/workflows/hyperjump-labels.yml +++ b/.github/workflows/hyperjump-labels.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) labels steps: - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 - name: labels uses: diem/actions/hyperjump-labels@a5fa31ff2b54a544cd88ac912cda469742592e6c with: diff --git a/.github/workflows/hyperjump-request-review.yml b/.github/workflows/hyperjump-request-review.yml index 48f6db417ce0..d271d02c7a91 100644 --- a/.github/workflows/hyperjump-request-review.yml +++ b/.github/workflows/hyperjump-request-review.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) request-review steps: - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 - name: request review uses: diem/actions/hyperjump-request-review@a5fa31ff2b54a544cd88ac912cda469742592e6c with: diff --git a/.github/workflows/jsonrpc-compat.yml b/.github/workflows/jsonrpc-compat.yml index 364fbef66af8..2d803ab03e41 100644 --- a/.github/workflows/jsonrpc-compat.yml +++ b/.github/workflows/jsonrpc-compat.yml @@ -11,7 +11,7 @@ jobs: name: Warn PR author about compatibility requirements steps: - name: checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: comment diff --git a/.github/workflows/post-land.yml b/.github/workflows/post-land.yml index 3861a69cd122..587c58884e7f 100644 --- a/.github/workflows/post-land.yml +++ b/.github/workflows/post-land.yml @@ -13,7 +13,7 @@ jobs: # The pre-release suite run time varies 1~1.5 hr. timeout-minutes: 120 steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 - name: set_env id: set_env run: | diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index 31d385a34c8b..5480b4b107f3 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.2.0 - name: Install Rust toolchain uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index e91dffb6c66f..f6e9bd3557e3 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -13,7 +13,7 @@ jobs: env: MESSAGE_PAYLOAD_FILE: /tmp/message steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.2.0 with: # fetch full history fetch-depth: 0