mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2025-01-14 02:41:41 +00:00
Add workflow for cargo-clippy
This commit is contained in:
parent
fcac28eed0
commit
8d9f0f1146
@ -1,19 +1,21 @@
|
||||
name: cargo-bloat
|
||||
name: cargo-clippy
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
bloat:
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- uses: orf/cargo-bloat-action@v1
|
||||
components: clippy
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
args: --workspace --all-targets --all-features -- -D clippy::all
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
2
.github/workflows/cargo-test.yml
vendored
2
.github/workflows/cargo-test.yml
vendored
@ -5,7 +5,7 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
fmt:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
Loading…
Reference in New Issue
Block a user