Skip to content

Commit

Permalink
Merge pull request #1951 from hamirmahal/ci/add-clippy-job-to-workflow
Browse files Browse the repository at this point in the history
ci: add `clippy` job to `rust.yml` workflow
  • Loading branch information
mo8it committed May 12, 2024
2 parents f03020a + 4eec81a commit c2414b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@ name: Rustlings Tests

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo clippy -- --deny warnings
fmt:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c2414b8

Please sign in to comment.