1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

Merge pull request #1951 from hamirmahal/ci/add-clippy-job-to-workflow

ci: add `clippy` job to `rust.yml` workflow
This commit is contained in:
Mo
2024-05-12 22:47:45 +02:00
committed by GitHub

View File

@ -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: