Skip to content

Commit

Permalink
fix feature calculation in pipeline :(
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Feb 4, 2024
1 parent e33d7c1 commit 02fb173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: cargo check --package code-generator --locked
- name: Check changed CRDs
run: |
for feature in $(git diff --name-only origin/main -- ./kube-custom-resources-rs/src | grep --invert-match lib.rs | xargs --no-run-if-empty -I{} dirname {} | sort --unique | xargs --no-run-if-empty -I{} basename {}); do
for feature in $(git diff --name-only origin/main -- ./kube-custom-resources-rs/src | grep --invert-match lib.rs | xargs --no-run-if-empty -I{} dirname {} | sort --unique | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} basename {}); do
if [ -f "./kube-custom-resources-rs/src/${feature}/mod.rs" ]; then
./code-generator/test-custom-resources.sh "${feature}"
fi
Expand Down

0 comments on commit 02fb173

Please sign in to comment.