Skip to content

Commit b22cd30

Browse files
Add CI check
1 parent ea70862 commit b22cd30

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/CI.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
pull_request:
3+
push:
4+
5+
permissions:
6+
contents: read
7+
8+
name: CI
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUST_BACKTRACE: 1
12+
13+
jobs:
14+
checks:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: dtolnay/rust-toolchain@stable
19+
with:
20+
toolchain: stable
21+
components: clippy, rustfmt
22+
- run: cargo fmt -- --check
23+
- run: cargo test
24+
- run: cargo clippy

0 commit comments

Comments
 (0)