diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-02-01 15:08:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-01 15:08:01 +0000 |
| commit | 286f6eb5b36a6def8d390992641fde37613ebd58 (patch) | |
| tree | da27542c91e79f1cb5f2a78c61d66718d731d5c0 /.github/workflows/rust.yml | |
| parent | feat: reencrypt/rekey local store (#1662) (diff) | |
| download | atuin-286f6eb5b36a6def8d390992641fde37613ebd58.zip | |
chore(ci): re-enable test cache, add separate check step (#1663)
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/rust.yml | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bac5f02f..d60db42a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -52,17 +52,36 @@ jobs: with: toolchain: stable -# - uses: actions/cache@v3 -# with: -# path: | -# ~/.cargo/registry -# ~/.cargo/git -# target -# key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test 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) run: cargo check --all-features --workspace |
