Skip to content

Commit

Permalink
add clippy to gh actions on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
cormacrelf committed Sep 10, 2021
1 parent 17412d8 commit c462683
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
default: true
- uses: actions-rs/cargo@v1
name: "cargo fmt"
if: ${{ matrix.rust == 'stable' }}
with:
command: fmt
args: -- --check
- uses: actions-rs/cargo@v1
name: "test with all features"
with:
Expand All @@ -57,3 +51,15 @@ jobs:
with:
command: check
args: --no-default-features
- uses: actions-rs/cargo@v1
name: "cargo fmt"
if: ${{ matrix.rust == 'stable' }}
with:
command: fmt
args: -- --check
- uses: actions-rs/clippy-check@v1
name: "cargo clippy"
if: ${{ matrix.rust == 'stable' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
2 changes: 1 addition & 1 deletion bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ need_stdout = false
watch = ["tests", "benches", "examples"]

[jobs.clippy]
command = ["cargo", "clippy", "--color", "always"]
command = ["cargo", "clippy", "--color", "always", "--all-features"]
need_stdout = false

[jobs.test]
Expand Down

0 comments on commit c462683

Please sign in to comment.