Skip to content

Commit 2091bff

Browse files
committed
CI: add rust checks
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
1 parent c68c96a commit 2091bff

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/rust.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Rust tests
3+
4+
on:
5+
pull_request:
6+
push:
7+
8+
jobs:
9+
rust_tests:
10+
name: Rust checks
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- name: Clone repository
14+
uses: actions/checkout@v4
15+
- name: setup rust toolchain
16+
uses: dtolnay/rust-toolchain@1.92
17+
with:
18+
components: clippy,rustfmt
19+
- name: install cargo-hack
20+
uses: taiki-e/install-action@cargo-hack
21+
- run: cargo hack clippy --all-targets --feature-powerset --group-features hf,stt --no-deps --no-dev-deps -- -Dclippy::pedantic

0 commit comments

Comments
 (0)