Skip to content

Commit

Permalink
Merge pull request #224 from ZettaScaleLabs/sync-lock-remove-panic-op…
Browse files Browse the repository at this point in the history
…aque-types

fix: disable panic for zenoh-c opaque-types
  • Loading branch information
Mallets authored Sep 20, 2024
2 parents 40e62a9 + 19d52cb commit 79f662a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sync-lockfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,12 @@ jobs:
# the dependency versions fetched from source.
run: cargo clippy --manifest-path ${{ steps.crate-path.outputs.value }}/Cargo.toml --all-targets --all-features -- --deny warnings

- name: Rectify lockfile for zenoh-c build-resources
- name: Rectify lockfile for zenoh-c opaque-types
if: ${{ matrix.dependant == 'zenoh-c' }}
run: cargo clippy --manifest-path build-resources/opaque-types/Cargo.toml --all-targets --all-features -- --deny warnings
# Disable panic feature for zenoh-c opaque-types
run: |
features=$(cargo tree --manifest-path build-resources/opaque-types/Cargo.toml -f "{p} {f}" --all-features| grep opaque-types | cut -d" " -f4 | sed s/panic,//)
cargo clippy --manifest-path build-resources/opaque-types/Cargo.toml --all-targets --features $features -- --deny warnings
- name: cargo update ${{ matrix.dependant }}
run: cargo update zenoh --manifest-path ${{ steps.crate-path.outputs.value }}/Cargo.toml
Expand Down

0 comments on commit 79f662a

Please sign in to comment.