flip cache/toolchain setup
This commit is contained in:
parent
a075bdfe57
commit
cf77bdf2a5
|
@ -7,8 +7,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- uses: https://github.com/Swatinem/rust-cache@v2
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- run: cargo test --all-features
|
||||
bench:
|
||||
name: Run Benchmarks
|
||||
|
@ -17,8 +17,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- uses: https://github.com/Swatinem/rust-cache@v2
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- run: git checkout HEAD~
|
||||
- run: cargo bench
|
||||
- run: git checkout master
|
||||
|
|
Loading…
Reference in a new issue