aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorConrad Ludgate <conrad.ludgate@truelayer.com>2022-04-22 21:14:23 +0100
committerGitHub <noreply@github.com>2022-04-22 20:14:23 +0000
commit7436e4ff651b64d4019a59d04c30c414ae220403 (patch)
tree3d5e35df1bce075ae04be63d76f9edc8cc17c6cb /.github
parentHistory filter (#329) (diff)
downloadatuin-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 '.github')
-rw-r--r--.github/workflows/rust.yml14
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