Skip to content

Commit

Permalink
Temporarily allow warnings for dylint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Feb 29, 2024
1 parent 57ee005 commit 7c82116
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
- 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
# Note: this action allows Warnings. Long-term, we don't want this. But we also don't want this tool to block
# new PRs on existing rules.
- name: Run `RUSTFLAGS='-A warnings' cargo dylint` (NOTE allows Warnings!)
run: RUSTFLAGS='-A warnings' cargo dylint --workspace --all --manifest-path solana/Cargo.toml

- name: Cache solana tools
id: cache-solana
Expand Down

0 comments on commit 7c82116

Please sign in to comment.