Skip to content

Commit b0dc01e

Browse files
Add CI check
1 parent ea70862 commit b0dc01e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/CI.yml

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

0 commit comments

Comments
 (0)