mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-26 12:51:35 +02:00
chore(ci): re-enable test cache, add separate check step (#1663)
This commit is contained in:
parent
a6f1fe2c10
commit
286f6eb5b3
33
.github/workflows/rust.yml
vendored
33
.github/workflows/rust.yml
vendored
@ -52,17 +52,36 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
# - uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.cargo/registry
|
~/.cargo/registry
|
||||||
# ~/.cargo/git
|
~/.cargo/git
|
||||||
# target
|
target
|
||||||
# key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
|
key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Run cargo test
|
- name: Run cargo test
|
||||||
run: cargo test --lib --bins
|
run: cargo test --lib --bins
|
||||||
|
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install rust
|
||||||
|
uses: dtolnay/rust-toolchain@master
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/registry
|
||||||
|
~/.cargo/git
|
||||||
|
target
|
||||||
|
key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Run cargo check (all features)
|
- name: Run cargo check (all features)
|
||||||
run: cargo check --all-features --workspace
|
run: cargo check --all-features --workspace
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user