Skip to content

Commit 330d987

Browse files
committed
ci: update workflows to use workspace option
1 parent 252ec26 commit 330d987

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ jobs:
856856
lima ls
857857
lima bash -c "cd work && cargo test --features 'feat_selinux' --no-default-features"
858858
- name: Lint with SELinux
859-
run: lima bash -c "cd work && cargo clippy --all-targets --features 'feat_selinux' --no-default-features -- -D warnings"
859+
run: lima bash -c "cd work && cargo clippy --workspace --all-targets --features 'feat_selinux' --no-default-features -- -D warnings"
860860

861861
test_selinux_stubs:
862862
name: Build/SELinux-Stubs (Non-Linux)
@@ -884,7 +884,7 @@ jobs:
884884
test -f target/debug/runcon || test -f target/debug/runcon.exe
885885
# check is enough to detect workspace breakage by chcon
886886
- name: Verify workspace builds with stubs
887-
run: cargo check --features ${{ matrix.job.features }}
887+
run: cargo check --workspace --features ${{ matrix.job.features }}
888888

889889
test_safe_traversal:
890890
name: Safe Traversal Security Check

.github/workflows/code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
job:
7474
- { os: ubuntu-latest , features: all , workspace: true }
7575
- { os: macos-latest , features: feat_os_unix }
76-
- { os: windows-latest , features: feat_os_windows }
76+
- { os: windows-latest , features: feat_os_windows , workspace: true }
7777
- { os: ubuntu-latest , features: feat_wasm , target: wasm32-wasip1 }
7878
steps:
7979
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)