Skip to content

Commit

Permalink
lint: Move clippy to a just rule
Browse files Browse the repository at this point in the history
  • Loading branch information
javierhonduco committed Aug 20, 2023
1 parent 7cff5ac commit 20475a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ jobs:
zlib1g-dev
- name: Run clippy
run: |
export RUSTFLAGS='-L /usr/lib/x86_64-linux-gnu'
cargo clippy -- -Dclippy::all
just clippy
test:
name: Test
Expand Down
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ build: build-native-libraries
test: build-native-libraries
RUSTFLAGS="{{BASE_RUSTFLAGS}}" cargo test

clippy:
cargo clippy -- -Dclippy::all

build-release: build-native-libraries
RUSTFLAGS="{{RUSTFLAGS_STATIC}}" cargo build --release --target x86_64-unknown-linux-gnu

Expand Down

0 comments on commit 20475a1

Please sign in to comment.