Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 2 to 4 #495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-post-land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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/[email protected]
# with:
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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!!!
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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/[email protected]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down