Skip to content

Commit 5935032

Browse files
committed
add clippy CI target
1 parent 971f5f3 commit 5935032

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
msrv = "1.65.0"

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,23 @@ jobs:
103103
with:
104104
command: fmt
105105
args: --all -- --check
106+
107+
lint:
108+
name: lint
109+
runs-on: ubuntu-latest
110+
steps:
111+
- name: Install Cap'n Proto
112+
run: |
113+
export DEBIAN_FRONTEND=noninteractive
114+
sudo apt-get install -y capnproto libcapnp-dev
115+
- uses: actions/checkout@v3
116+
- uses: actions-rs/toolchain@v1
117+
with:
118+
profile: minimal
119+
toolchain: nightly-2022-10-18
120+
override: true
121+
components: clippy
122+
- uses: giraffate/clippy-action@v1
123+
with:
124+
clippy_flags: --all --all-targets
125+
filter_mode: nofilter

0 commit comments

Comments
 (0)