Skip to content

Commit

Permalink
Merge pull request #15 from rustadopt/PThorpe92-patch-1
Browse files Browse the repository at this point in the history
chore: add clippy to workflow/action
  • Loading branch information
PThorpe92 authored Aug 30, 2023
2 parents a2399ea + 9db6c34 commit 1d69761
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
- name: Enforce formatting
run: cargo fmt --check

# clippy:
# name: Clippy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: dtolnay/rust-toolchain@stable
# with:
# components: clippy
# - uses: Swatinem/rust-cache@v2
# - name: Linting
# run: cargo clippy -- -D warnings
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Linting
run: cargo clippy -- -D warnings

coverage:
name: Code coverage
Expand All @@ -50,4 +50,4 @@ jobs:
uses: actions/checkout@v3
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --workspace
cargo tarpaulin --verbose --workspace

0 comments on commit 1d69761

Please sign in to comment.