Skip to content

Commit

Permalink
run individual checks per feature
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 3, 2023
1 parent 1c9adc0 commit a1dbb4d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
- name: Build all Packages and Features
run: cargo check --all-features --locked
- name: Check Fetcher
run: cargo check --package crd-v1-fetcher --locked
env:
RUSTFLAGS: "-A warnings"
- name: Check all CRDs
run: |
for mld in ./kube-custom-resources-rs/src/*; do
if [ -f "${mld}/mod.rs" ]; then
module=$(basename "${mld}")
echo "testing ${module}"
cargo check --package kube-custom-resources-rs --features "${module}" --locked
fi
done
env:
RUSTFLAGS: "-A warnings"

0 comments on commit a1dbb4d

Please sign in to comment.