Skip to content

Commit d19d2bc

Browse files
committed
Auto merge of #13757 - naglis:docs-update-gh-checkout-action-version, r=epage
docs: update `checkout` GitHub action version ### What does this PR try to resolve? This PR updates the GitHub CI examples in The Cargo Book to use the latest version of the `actions/checkout` GitHub action, since using `actions/checkout@v3` (currently used in the examples) produces warnings about deprecated Node.js 16 (see also [GitHub Actions: Transitioning from Node 16 to Node 20](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/) blog post). Also, v4 is already used in the "Verifying `rust-version`" example: https://github.com/rust-lang/cargo/blob/a9f86addbc3eef731468c3b07addc74a5bc1d8ae/src/doc/src/guide/continuous-integration.md?plain=1#L174
2 parents a9f86ad + e9c7df3 commit d19d2bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/guide/continuous-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- beta
3030
- nightly
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
3434
- run: cargo build --verbose
3535
- run: cargo test --verbose
@@ -147,7 +147,7 @@ jobs:
147147
runs-on: ubuntu-latest
148148
continue-on-error: true
149149
steps:
150-
- uses: actions/checkout@v3
150+
- uses: actions/checkout@v4
151151
- run: rustup update stable && rustup default stable
152152
- run: cargo update --verbose
153153
- run: cargo build --verbose

0 commit comments

Comments
 (0)