Skip to content

Commit

Permalink
chore: move example dep to workspace (#249)
Browse files Browse the repository at this point in the history
move common example dependencies as workspace dep to reduce duplication
  • Loading branch information
sehz committed Sep 23, 2023
1 parent aa95cd6 commit 786c2ce
Show file tree
Hide file tree
Showing 27 changed files with 127 additions and 139 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- name: check clippy
run: make check-clippy RUSTV=${{ matrix.rust }}
run: make check-clippy

test:
name: Smoke test (${{ matrix.os }}, ${{ matrix.node }})
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ install-fmt:
rustup component add rustfmt --toolchain $(RUSTV)

check-fmt:
cargo +$(RUSTV) fmt -- --check
cargo fmt -- --check

install-clippy:
rustup component add clippy --toolchain $(RUSTV)
rustup component add clippy

check-clippy: install-clippy check-clippy-examples
cargo +$(RUSTV) clippy --all --all-targets --all-features -- \
cargo clippy --all --all-features -- \
-D warnings \
-A clippy::upper_case_acronyms \
-A clippy::needless-question-mark
Expand Down
Loading

0 comments on commit 786c2ce

Please sign in to comment.