File tree Expand file tree Collapse file tree 2 files changed +36
-35
lines changed Expand file tree Collapse file tree 2 files changed +36
-35
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ insert_final_newline = true
9
9
indent_style = space
10
10
indent_size = 4
11
11
trim_trailing_whitespace = true
12
+
13
+ [* .yml ]
14
+ indent_size = 2
Original file line number Diff line number Diff line change @@ -13,48 +13,46 @@ jobs:
13
13
build :
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
- matrix :
17
- rust :
18
- - stable
19
- - nightly
20
- - 1.52.1 # MSVR
16
+ matrix :
17
+ rust :
18
+ - stable
19
+ - nightly
20
+ - 1.52.1 # MSVR
21
21
steps :
22
- - uses : actions/checkout@v2
23
- - name : Build
24
- run : cargo build --verbose
25
- - name : Run tests
26
- run : cargo test --verbose
22
+ - uses : actions/checkout@v2
23
+ - name : Build
24
+ run : cargo build --verbose
25
+ - name : Run tests
26
+ run : cargo test --verbose
27
27
28
28
build_no_std :
29
- runs-on : ubuntu-latest
30
- strategy :
31
- matrix :
32
- rust :
33
- - stable
34
- - nightly
35
- - 1.52.1 # MSVR
36
- steps :
37
- - uses : actions/checkout@v2
38
- - name : " Rustup: install some no_std target"
39
- run : rustup target add thumbv7em-none-eabihf
40
- - name : Build (no_std)
41
- run : cargo build --target thumbv7em-none-eabihf
29
+ runs-on : ubuntu-latest
30
+ strategy :
31
+ matrix :
32
+ rust :
33
+ - stable
34
+ - nightly
35
+ - 1.52.1 # MSVR
36
+ steps :
37
+ - uses : actions/checkout@v2
38
+ - name : " Rustup: install some no_std target"
39
+ run : rustup target add thumbv7em-none-eabihf
40
+ - name : Build (no_std)
41
+ run : cargo build --target thumbv7em-none-eabihf
42
42
43
43
44
44
# As discussed, these tasks are optional for PRs.
45
45
style_checks :
46
-
47
46
runs-on : ubuntu-latest
48
47
strategy :
49
- matrix :
50
- rust :
51
- - stable
52
-
48
+ matrix :
49
+ rust :
50
+ - stable
53
51
steps :
54
- - uses : actions/checkout@v2
55
- - name : Rustfmt
56
- run : cargo fmt -- --check
57
- - name : Clippy
58
- run : cargo clippy
59
- - name : Rustdoc
60
- run : cargo doc
52
+ - uses : actions/checkout@v2
53
+ - name : Rustfmt
54
+ run : cargo fmt -- --check
55
+ - name : Clippy
56
+ run : cargo clippy
57
+ - name : Rustdoc
58
+ run : cargo doc
You can’t perform that action at this time.
0 commit comments