Skip to content

Commit 295791a

Browse files
committed
Add CI
1 parent 5600355 commit 295791a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Run Cargo test
15+
run: cargo test --all-features
16+
17+
clippy:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Install cargo hack
24+
uses: taiki-e/install-action@cargo-hack
25+
26+
- name: Run Cargo clippy on all feature combinations
27+
run: cargo hack clippy --feature-powerset -- --deny warnings

0 commit comments

Comments
 (0)