diff options
| author | Conrad Ludgate <conrad.ludgate@truelayer.com> | 2022-04-22 21:14:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-22 20:14:23 +0000 |
| commit | 7436e4ff651b64d4019a59d04c30c414ae220403 (patch) | |
| tree | 3d5e35df1bce075ae04be63d76f9edc8cc17c6cb /.github/workflows/rust.yml | |
| parent | History filter (#329) (diff) | |
| download | atuin-7436e4ff651b64d4019a59d04c30c414ae220403.zip | |
feature-flags (#328)
* use feature flags
* fmt
* fix features
* update ci
* fmt
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/rust.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ad814172..3c39fa2d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -63,7 +63,19 @@ jobs: key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test - run: ATUIN_SESSION=beepboopiamasession cargo test --workspace + run: cargo test --all-features --workspace + + - name: Run cargo check (all features) + run: cargo check --all-features --workspace + + - name: Run cargo check (no features) + run: cargo check --no-default-features --workspace + + - name: Run cargo check (sync) + run: cargo check --no-default-features --features sync --workspace + + - name: Run cargo check (server) + run: cargo check --no-default-features --features server --workspace clippy: runs-on: ubuntu-latest |
