flip cache/toolchain setup
Some checks failed
cargo_test_bench / Run Benchmarks (push) Has been cancelled
cargo_test_bench / Run Tests (push) Has been cancelled

This commit is contained in:
Champlin, Saji 2024-08-01 10:14:58 -05:00
parent a075bdfe57
commit cf77bdf2a5

View file

@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: https://github.com/Swatinem/rust-cache@v2 - uses: https://github.com/Swatinem/rust-cache@v2
- uses: https://github.com/dtolnay/rust-toolchain@stable
- run: cargo test --all-features - run: cargo test --all-features
bench: bench:
name: Run Benchmarks name: Run Benchmarks
@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 2 fetch-depth: 2
- uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: https://github.com/Swatinem/rust-cache@v2 - uses: https://github.com/Swatinem/rust-cache@v2
- uses: https://github.com/dtolnay/rust-toolchain@stable
- run: git checkout HEAD~ - run: git checkout HEAD~
- run: cargo bench - run: cargo bench
- run: git checkout master - run: git checkout master