Skip to content

Commit

Permalink
ci: remove --no-dev-deps for cargo hack
Browse files Browse the repository at this point in the history
error: --no-dev-deps may not be used together with test subcommand
  • Loading branch information
zjp-CN committed Jan 19, 2025
1 parent be2bbbd commit b4ce1ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: Check code format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo hack clippy --target ${{ matrix.targets }} --each-feature --no-dev-deps -- -D warnings
run: cargo hack clippy --target ${{ matrix.targets }} --each-feature -- -D warnings
- name: Build
run: cargo hack build --target ${{ matrix.targets }} --each-feature --no-dev-deps
run: cargo hack build --target ${{ matrix.targets }} --each-feature
- name: Unit test
if: ${{ matrix.targets == 'x86_64-unknown-linux-gnu' }}
run: cargo hack test --target ${{ matrix.targets }} --each-feature --no-dev-deps -- --nocapture
run: cargo hack test --target ${{ matrix.targets }} --each-feature -- --nocapture

doc:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b4ce1ca

Please sign in to comment.