Skip to content

Commit

Permalink
add clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu committed Oct 6, 2023
1 parent 96d27a4 commit 5d38d04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ jobs:
- name: Install yarn dependencies
working-directory: ./mev-programs
run: yarn
- uses: reinismu/clippy-check@master
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
working-directory: ./mev-programs/programs
token: ${{ secrets.GITHUB_TOKEN }}
toolchain: nightly-2023-04-19-x86_64-unknown-linux-gnu
components: rustfmt, clippy
- name: clippy
run: cargo +nightly-2023-04-19 clippy --all-features --all-targets --tests -- -D warnings
shell: bash

# Build IDLs
- name: Build jito_tip_distribution
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[toolchain]
channel = "1.72.1"
component = ["clippy"]

0 comments on commit 5d38d04

Please sign in to comment.