mirror of
https://github.com/Hopiu/zoxide.git
synced 2026-05-18 20:21:09 +00:00
Add workflow for cargo-clippy
This commit is contained in:
parent
fcac28eed0
commit
8d9f0f1146
2 changed files with 7 additions and 5 deletions
|
|
@ -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 a new issue