Skip to content

Commit

Permalink
Enable clippy on CI again
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
archseer committed Feb 15, 2022
1 parent a158ef4 commit f76f7ff
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,18 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# TODO: Run cargo clippy
# https://github.com/smartcontractkit/chainlink-terra/issues/16
- name: Avoid using non-nix rust binaries
run: rm -rf ~/.cargo/bin

- name: Run cargo fmt
run: nix develop -c cargo fmt --all -- --check

- name: Run cargo check
run: nix develop -c cargo check

- name: Run cargo clippy
run: nix develop -c cargo clippy -- -D warnings

# TODO: Add schema checks
# https://github.com/smartcontractkit/chainlink-terra/issues/17

0 comments on commit f76f7ff

Please sign in to comment.