zoxide/.github/workflows/cargo-clippy.yml

25 lines
564 B
YAML
Raw Normal View History

2020-10-01 20:23:00 +00:00
name: cargo-clippy
2020-10-01 19:55:10 +00:00
on:
push:
pull_request:
jobs:
2020-10-01 20:23:00 +00:00
clippy:
2020-10-26 19:55:02 +00:00
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
2020-10-01 19:55:10 +00:00
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
2020-10-01 20:23:00 +00:00
toolchain: nightly
2020-10-01 19:55:10 +00:00
override: true
2020-10-01 20:23:00 +00:00
components: clippy
- uses: actions-rs/clippy-check@v1
2020-10-01 19:55:10 +00:00
with:
2020-12-09 22:07:40 +00:00
args: --all-targets --all-features --color=always -- -D warnings -D clippy::all
2020-10-01 19:55:10 +00:00
token: ${{ secrets.GITHUB_TOKEN }}