Update actions in CI to avoid deprecation (#163)

This commit is contained in:
Alphyr 2023-01-19 18:01:19 +01:00 committed by GitHub
parent 117222d3e4
commit f276289a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ jobs:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: cargo test --verbose
- run: cargo test --verbose --no-default-features
- run: cargo test --verbose
@ -52,7 +52,7 @@ jobs:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: cargo install cross
- run: cross test --verbose --target=${{ matrix.target }} --no-default-features
- run: cross test --verbose --target=${{ matrix.target }}
@ -71,7 +71,7 @@ jobs:
with:
rust-version: nightly
components: miri
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Note(Lokathor): We got some cached json errors, and so we cargo clean for this run.
- run: rm -fr target
- run: cargo miri test --verbose --no-default-features
@ -86,7 +86,7 @@ jobs:
matrix:
sanitizer: [address, memory, leak]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly