Skip to content

Commit

Permalink
ci: Fix clippy lint (DeFiCh#2153)
Browse files Browse the repository at this point in the history
* Clippy throw error for warnings

* Fix rust lint workflow

* Remove caching steps

* Clippy fail

* Fixes to return exit code 1 on lint failure

* Revert "Clippy fail"

This reverts commit 6fb91ca.

---------

Co-authored-by: Niven <[email protected]>
Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
3 people authored Jul 5, 2023
1 parent 668b514 commit 64cbe90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: ./make.sh build-deps && ./make.sh build-conf

- name: Format checks
run: ./make.sh lib fmt-check
run: ./make.sh lib fmt-check 1

- name: Clippy checks
run: ./make.sh lib clippy
run: ./make.sh lib clippy 1

0 comments on commit 64cbe90

Please sign in to comment.