Skip to content

Commit 1707d26

Browse files
init
0 parents  commit 1707d26

19 files changed

Lines changed: 4110 additions & 0 deletions

.github/workflows/main.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- uses: dtolnay/rust-toolchain@stable
16+
17+
- name: Run tests
18+
run: cargo test
19+
20+
fmt:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- uses: dtolnay/rust-toolchain@nightly
27+
with:
28+
components: rustfmt
29+
30+
- run: cargo fmt --all -- --check
31+
32+
clippy:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
38+
- uses: dtolnay/rust-toolchain@stable
39+
with:
40+
components: clippy
41+
42+
- run: cargo clippy -- -D warnings

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
.Codex/

0 commit comments

Comments
 (0)