File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ name : Build and test
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Install the MinGW and LLVM toolchains
19+ run : sudo apt-get install -y mingw-w64 llvm
20+ - name : Build
21+ run : cargo build --verbose
22+ - name : Run tests
23+ run : cargo test --verbose
24+ fmt :
25+ name : Check code formatting
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v3
29+ - name : Run cargo fmt
30+ run : cargo fmt -- --check
31+ clippy :
32+ name : Clippy lints
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v3
36+ - name : Run cargo clippy
37+ run : cargo clippy --tests -- --deny warnings
You can’t perform that action at this time.
0 commit comments