Skip to content

Commit

Permalink
Bump actions/checkout from 3 to 4 (rust-lang#2918)
Browse files Browse the repository at this point in the history
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to
4.
  • Loading branch information
dependabot[bot] authored Dec 9, 2023
1 parent b7ece82 commit 9e2b335
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
arguments: --all-features --workspace
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
echo "NEW_REF=${{ github.event.pull_request.head.sha }}" | tee -a "$GITHUB_ENV"
- name: Check out Kani (old variant)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./old
ref: ${{ env.OLD_REF }}
fetch-depth: 2

- name: Check out Kani (new variant)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./new
ref: ${{ env.NEW_REF }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cbmc-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
os: [macos-12, ubuntu-20.04, ubuntu-22.04]
steps:
- name: Checkout Kani under "kani"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: kani

Expand All @@ -37,7 +37,7 @@ jobs:
run: cargo build-dev

- name: Checkout CBMC under "cbmc"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: diffblue/cbmc
path: cbmc
Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kani under "kani"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: kani

Expand All @@ -73,7 +73,7 @@ jobs:
run: cargo build-dev -- --release

- name: Checkout CBMC under "cbmc"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: diffblue/cbmc
path: cbmc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cbmc-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extra_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Label PR
id: labeler
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Execute copyright check
run: ./scripts/ci/run-copyright-check.sh
Expand All @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kani-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: macos-13-xlarge
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/kani.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [macos-12, ubuntu-20.04, ubuntu-22.04]
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install benchcomp dependencies
run: |
Expand All @@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand All @@ -102,7 +102,7 @@ jobs:
contents: write
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
crate_version: ${{ steps.bundle.outputs.crate_version }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
cargo kani setup --use-local-bundle ./${{ matrix.prev_job.bundle }}
- name: Checkout tests
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run tests
# TODO: Customize compiletest to run custom kani. For now, just run a few cargo kani tests.
Expand All @@ -160,7 +160,7 @@ jobs:
KANI_SRC: ./kani_src
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.KANI_SRC }}

Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get version
run: |
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
target: x86_64-unknown-linux-gnu
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os: [macos-12, ubuntu-20.04, ubuntu-22.04]
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toolchain-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down

0 comments on commit 9e2b335

Please sign in to comment.