mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-25 00:02:22 +00:00
Update actions in CI to avoid deprecation (#163)
This commit is contained in:
parent
117222d3e4
commit
f276289a9a
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user