Skip to content

Commit cb03ae8

Browse files
ThierryBergerjakobhellermann
authored andcommitted
add a ci script, just to test the project compiles, also for cargo fmt
1 parent eaba3fc commit cb03ae8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check-fmt:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Check formatting
15+
run: cargo fmt -- --check
16+
test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Cargo check
21+
run: cargo check

0 commit comments

Comments
 (0)