forked from vmware-archive/node-replicated-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 790 Bytes
/
Copy pathclippy.yml
File metadata and controls
31 lines (30 loc) · 790 Bytes
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:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- 'doc/**'
- '**.md'
name: Run clippy
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- run: |
sed -i'' -e 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init
rustup show
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --package nrk