Skip to content

Commit

Permalink
Update GitHub Actions actions/checkout@v2 to v3
Browse files Browse the repository at this point in the history
The v2 implementation uses Node 12, which is end-of-life on April 30, 2022.
See https://nodejs.org/en/about/releases/. Update to v3, which is based on
Node 16 whose support lasts until April 30, 2024.
  • Loading branch information
dtolnay committed Apr 30, 2022
1 parent fb2532a commit 30b26f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
rust: nightly-gnu
other: i686-pc-windows-gnu
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update Rustup (temporary workaround)
run: rustup self update
shell: bash
Expand Down Expand Up @@ -103,14 +103,14 @@ jobs:
resolver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup update stable && rustup default stable
- run: cargo test --manifest-path crates/resolver-tests/Cargo.toml

build_std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
- run: rustup component add rust-src
- run: cargo build
Expand All @@ -120,7 +120,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
- run: rustup update stable
- run: rustup component add rust-docs
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/guide/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- beta
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
Expand Down

0 comments on commit 30b26f2

Please sign in to comment.