CI: Name our lint stages.

master
Damir Jelić 2020-12-08 11:08:41 +01:00
parent 59917f45e3
commit 1d5ee22dd2
1 changed files with 8 additions and 4 deletions

View File

@ -13,17 +13,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout the repo
- uses: actions-rs/toolchain@v1 uses: actions/checkout@v2
- name: Install rust
uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
- uses: actions-rs/cargo@v1 - name: Cargo fmt
uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
- uses: actions-rs/cargo@v1 - name: Clippy
uses: actions-rs/cargo@v1
with: with:
command: clippy command: clippy
args: --all-targets -- -D warnings args: --all-targets -- -D warnings