Update workflows to actions/checkout@v3

This commit is contained in:
David Tolnay 2022-04-24 19:05:03 -07:00
parent 007a44549f
commit 441cdf504e
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -13,7 +13,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
@ -30,7 +30,7 @@ jobs:
matrix:
rust: [nightly, beta, stable, 1.56.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/install@cargo-outdated
- run: cargo update
- run: cargo outdated --exit-code 1 --ignore syntect