File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on : [push, pull_request]
3+
4+ env :
5+ RUSTFLAGS : " -Dwarnings"
6+
7+ jobs :
8+ test :
9+ name : Build
10+ runs-on : ubuntu-latest
11+ container : ghcr.io/verdiwm/ci-image:latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Try building
16+ run : cargo xtask build
17+
18+ lint :
19+ name : Lint project
20+ runs-on : ubuntu-latest
21+ container : ghcr.io/verdiwm/ci-image:latest
22+ steps :
23+ - uses : actions/checkout@v4
24+
25+ # - name: Run tests
26+ # run: cargo nextest run --all-features
27+
28+ - name : Check clippy
29+ run : cargo clippy --all-targets --all-features
30+
31+ fmt :
32+ name : Check Formatting
33+ runs-on : ubuntu-latest
34+ container : ghcr.io/verdiwm/ci-image:latest
35+ steps :
36+ - uses : actions/checkout@v4
37+ - name : Run formatter
38+ run : cargo fmt --check
You can’t perform that action at this time.
0 commit comments