docs: update `checkout` GitHub action version

Using `actions/checkout@v3` produces warnings about deprecated Node.js
16 (see also [1]).

Also, v4 is already used in the "Verifying `rust-version`" example[2].

[1]: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
[2]: a9f86addbc/src/doc/src/guide/continuous-integration.md?plain=1#L174
This commit is contained in:
Naglis Jonaitis 2024-04-15 15:22:57 +03:00
parent a9f86addbc
commit e9c7df3d0a
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
@ -147,7 +147,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo update --verbose
- run: cargo build --verbose