File tree Expand file tree Collapse file tree 2 files changed +74
-0
lines changed
Expand file tree Collapse file tree 2 files changed +74
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : cargo
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ time : " 04:00"
8+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : tests
2+ on : [push, pull_request]
3+
4+ jobs :
5+ clippy :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Checkout sources
9+ uses : actions/checkout@v2
10+ - name : Install Rust (stable)
11+ uses : actions-rs/toolchain@v1
12+ with :
13+ toolchain : stable
14+ components : clippy
15+ override : true
16+ - name : Clippy
17+ uses : actions-rs/cargo@v1
18+ with :
19+ command : clippy
20+ format :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout sources
24+ uses : actions/checkout@v2
25+ - name : Install Rust (stable)
26+ uses : actions-rs/toolchain@v1
27+ with :
28+ toolchain : stable
29+ components : rustfmt
30+ override : true
31+ - name : Check Format
32+ uses : actions-rs/cargo@v1
33+ with :
34+ command : fmt
35+ args : --all -- --check
36+ build-armv6m :
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Checkout sources
40+ uses : actions/checkout@v2
41+ - name : Install Rust (stable)
42+ uses : actions-rs/toolchain@v1
43+ with :
44+ profile : minimal
45+ toolchain : stable
46+ override : true
47+ target : thumbv6m-none-eabi
48+ - name : Build
49+ run : |
50+ set -ex
51+ cargo build
52+ test :
53+ runs-on : ubuntu-latest
54+ steps :
55+ - name : Checkout sources
56+ uses : actions/checkout@v2
57+ - name : Install Rust (stable)
58+ uses : actions-rs/toolchain@v1
59+ with :
60+ profile : minimal
61+ toolchain : stable
62+ override : true
63+ - name : Test
64+ run : |
65+ set -ex
66+ cargo test
You can’t perform that action at this time.
0 commit comments