flip cache/toolchain setup
This commit is contained in:
parent
a075bdfe57
commit
cf77bdf2a5
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue