File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 6
6
formatting :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v1
9
+ - uses : actions/checkout@v4
10
+ - uses : dtolnay/rust-toolchain@stable
11
+ with :
12
+ components : rustfmt
10
13
- name : Check formatting
11
14
run : cargo fmt -- --check
12
15
13
16
build-test :
14
17
runs-on : ubuntu-latest
15
18
strategy :
16
19
matrix :
20
+ # Always run MSRV too!
21
+ rust : ["stable", "1.76"]
17
22
features : ['log', 'defmt-log', '""']
18
23
steps :
19
- - uses : actions/checkout@v1
24
+ - uses : actions/checkout@v4
25
+ - uses : dtolnay/rust-toolchain@master
26
+ with :
27
+ toolchain : ${{ matrix.rust }}
20
28
- name : Build
21
29
run : cargo build --no-default-features --features ${{matrix.features}} --verbose
22
30
- name : Run Tests
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ readme = "README.md"
10
10
repository = " https://github.com/rust-embedded-community/embedded-sdmmc-rs"
11
11
version = " 0.8.0"
12
12
13
+ # Make sure to update the CI too!
14
+ rust-version = " 1.76"
15
+
13
16
[dependencies ]
14
17
byteorder = {version = " 1" , default-features = false }
15
18
defmt = {version = " 0.3" , optional = true }
You can’t perform that action at this time.
0 commit comments