-
-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (28 loc) · 901 Bytes
/
checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on:
push:
pull_request:
name: Clippy check
jobs:
clippy_check:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
changelog_generator/target
key: ${{ runner.os }}-clippy_cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-clippy_cargo-
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features