File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
ci-linux :
10
- runs-on : ubuntu-20.04
10
+ runs-on : ubuntu-latest
11
11
continue-on-error : ${{ matrix.experimental || false }}
12
12
strategy :
13
13
matrix :
@@ -18,12 +18,10 @@ jobs:
18
18
experimental : true
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions-rs/ toolchain@v1
21
+ - uses : actions/checkout@v4
22
+ - uses : dtolnay/rust- toolchain@master
23
23
with :
24
- profile : minimal
25
24
toolchain : ${{ matrix.rust }}
26
- override : true
27
25
28
26
- name : Check code (cortex-m fs)
29
27
run : cargo check --features "cortex-m fs"
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : Code formatting check
7
+
8
+ jobs :
9
+ fmt :
10
+ name : Rustfmt
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : dtolnay/rust-toolchain@stable
15
+ with :
16
+ components : rustfmt
17
+ - run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments