diff --git a/.github/workflows/ci-post-land.yml b/.github/workflows/ci-post-land.yml index 2eb21c598..687859a87 100644 --- a/.github/workflows/ci-post-land.yml +++ b/.github/workflows/ci-post-land.yml @@ -25,7 +25,7 @@ jobs: rust-changes: ${{ steps.rust-changes.outputs.changes-found }} base-image-changes: ${{ steps.base-image-changes.outputs.changes-found }} steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 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" @@ -60,7 +60,7 @@ jobs: IMAGE_NAME: ${{ github.repository }}_build_environment IMAGE_TAG: ${{ needs.prepare.outputs.changes-target-branch }} steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 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" @@ -88,7 +88,7 @@ jobs: # - "${{github.workspace}}:/opt/git/diem" # steps: # - name: Checkout repository - # uses: actions/checkout@v2.4.0 + # uses: actions/checkout@v4 # - uses: ./.github/actions/build-setup # - uses: actions/cache@v2.1.6 # with: diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index fc5150d0d..1c1be60da 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -27,7 +27,7 @@ jobs: test-dev-setup: ${{ steps.dev-setup-sh-changes.outputs.changes-found }} test-non-rust-lint: ${{ steps.non-rust-lint-changes.outputs.changes-found }} steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 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" @@ -76,7 +76,7 @@ jobs: matrix: target_os: [github] steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: build image with dev-setup.sh @@ -97,7 +97,7 @@ jobs: volumes: - "${{github.workspace}}:/opt/git/diem" steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -127,7 +127,7 @@ jobs: volumes: - "${{github.workspace}}:/opt/git/diem" steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -172,7 +172,7 @@ jobs: volumes: - "${{github.workspace}}:/opt/git/diem" steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -198,7 +198,7 @@ jobs: timeout-minutes: 90 needs: prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - uses: ./.github/actions/build-setup - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c - name: run EVM-based move cli tests @@ -209,7 +209,7 @@ jobs: timeout-minutes: 90 needs: prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - uses: ./.github/actions/build-setup - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c - name: run EVM-based move unit test framework tests @@ -224,7 +224,7 @@ jobs: timeout-minutes: 90 needs: prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - uses: ./.github/actions/build-setup - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c - name: build Diem Framework Packages @@ -235,7 +235,7 @@ jobs: timeout-minutes: 90 needs: prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - uses: ./.github/actions/build-setup - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c - name: test Diem Framework Packages @@ -246,7 +246,7 @@ jobs: timeout-minutes: 90 needs: prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - uses: ./.github/actions/build-setup - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c - name: prove Diem Framework Packages @@ -264,7 +264,7 @@ jobs: volumes: - "${{github.workspace}}:/opt/git/diem" steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -292,7 +292,7 @@ jobs: env: CRITERION_HOME: /tmp/benches steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: actions/cache@v2.1.6 @@ -328,7 +328,7 @@ jobs: needs: - prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js 14 @@ -388,7 +388,7 @@ jobs: needs: - prepare steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 - name: Build Dockerfile run: "docker build -t move/cli -f docker/move-cli/Dockerfile ." - name: Build BasicCoin Move module diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 31d62ebfd..b00806245 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -23,7 +23,7 @@ jobs: env: AUDIT_SUMMARY_FILE: /tmp/summary steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ matrix.target-branch }} - uses: ./.github/actions/build-setup @@ -69,7 +69,7 @@ jobs: matrix: target-branch: [main] steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v4 with: ref: ${{ matrix.target-branch }} - uses: ./.github/actions/build-setup diff --git a/.github/workflows/release_asset.yml b/.github/workflows/release_asset.yml index 501f71614..bd04670cc 100644 --- a/.github/workflows/release_asset.yml +++ b/.github/workflows/release_asset.yml @@ -23,7 +23,7 @@ jobs: runs-on: ${{matrix.platform}} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: install rust toolchain uses: actions-rs/toolchain@v1 - name: build for ${{ matrix.platform }}