Skip to content

Commit 80940bf

Browse files
committed
Add github actions
1 parent f83c5b8 commit 80940bf

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci
2+
on: [push, pull_request]
3+
4+
env:
5+
RUSTFLAGS: "-Dwarnings"
6+
7+
jobs:
8+
test:
9+
name: Build and test
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup rust
15+
run: rustup toolchain install stable --profile minimal
16+
17+
- name: Install nextest to run tests
18+
uses: taiki-e/install-action@nextest
19+
20+
- name: Run tests
21+
run: cargo nextest run --all-features
22+
23+
- name: Check clippy
24+
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)