Skip to content

Commit

Permalink
Add dylint to github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Mar 5, 2024
1 parent 863ba9c commit 512573c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
toolchain: ${{ steps.toolchain.outputs.version }}
components: "clippy,rustfmt"


- name: Cache rust packages / build cache
uses: actions/cache@v3
env:
Expand All @@ -72,6 +73,12 @@ jobs:
- name: Run `cargo clippy`
run: cargo clippy --workspace --tests --manifest-path solana/Cargo.toml

- name: Install cargo dylint
run: cargo install cargo-dylint dylint-link

- name: Run `cargo dylint --all --workspace`
run: cargo dylint --workspace --all --manifest-path solana/Cargo.toml

- name: Cache solana tools
id: cache-solana
uses: actions/cache@v3
Expand Down

0 comments on commit 512573c

Please sign in to comment.