Skip to content

ci: bump actions/checkout to v5 #2166

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

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
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: dtolnay/[email protected]
with:
components: rustfmt, clippy
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cairo_1_programs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: install corelib
run: cd cairo1-run/ && make deps
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fresh_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Rust
uses: dtolnay/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

# Checkout current and last commit for the diff
- name: Checkout commits
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hint_accountant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Check Build
run: cargo build -p hint_accountant
- name: Clone cairo-lang repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hyper_threading_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:


- name: Checkout Main Branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: 'main'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hyperfine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
benchmark-hashes-head: ${{ steps.export-hashes.outputs.benchmark-hashes-head }}
steps:
- name: Checkout base commit
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request[matrix.branch].sha }}

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Checkout
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request[matrix.branch].sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iai_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/[email protected]
- name: Set up cargo cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iai_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.base.sha }}
- name: Initialize IAI cache for ${{ github.event.pull_request.base.sha }}
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/[email protected]
- name: Set up cargo cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install stable toolchain
uses: dtolnay/[email protected]
- name: Publish crate cairo-vm
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
upload_proof_programs_symlinks:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Create proof_programs symlinks
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
needs: build-programs
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/download-artifact@master
with:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/download-artifact@master
with:
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
tool: cargo-all-features

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/download-artifact@master
with:
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
tool: cargo-all-features

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download proof programs symlinks
uses: actions/download-artifact@master
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
cache-on-failure: true

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download proof programs symlinks
uses: actions/download-artifact@master
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/download-artifact@master
with:
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Build
run: cargo b --release -p cairo-vm-cli
# We don't read from cache because it should always miss
Expand All @@ -422,7 +422,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -495,7 +495,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Fetch release binary
uses: actions/cache/restore@v3
Expand Down Expand Up @@ -541,7 +541,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Fetch results for tests with stdlib (part. 1)
uses: actions/cache/restore@v3
Expand Down Expand Up @@ -755,7 +755,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/download-artifact@master
with:
Expand Down Expand Up @@ -802,7 +802,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -832,7 +832,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down Expand Up @@ -872,7 +872,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down Expand Up @@ -924,7 +924,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os: [ubuntu-22.04, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Cargo cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
shell: bash {0}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

# we don't use swatinem because rustc isn't installed yet
- name: Cache Rust dependencies
Expand Down