mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
ci: add Clippy stable check
Currently, `main` has Clippy lint warnings on stable, but not on nightly.
This commit is contained in:
parent
f9298582a7
commit
38aee9f749
1 changed files with 17 additions and 1 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -30,7 +30,23 @@ jobs:
|
|||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
|
||||
clippy:
|
||||
clippy-stable:
|
||||
name: Clippy check (stable)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features --workspace
|
||||
|
||||
clippy-nightly:
|
||||
name: Clippy check (nightly)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue