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 66 formatting :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v1
9+ - uses : actions/checkout@v4
10+ - uses : dtolnay/rust-toolchain@stable
11+ with :
12+ components : rustfmt
1013 - name : Check formatting
1114 run : cargo fmt -- --check
1215
1316 build-test :
1417 runs-on : ubuntu-latest
1518 strategy :
1619 matrix :
20+ # Always run MSRV too!
21+ rust : ["stable", "1.76"]
1722 features : ['log', 'defmt-log', '""']
1823 steps :
19- - uses : actions/checkout@v1
24+ - uses : actions/checkout@v4
25+ - uses : dtolnay/rust-toolchain@master
26+ with :
27+ toolchain : ${{ matrix.rust }}
2028 - name : Build
2129 run : cargo build --no-default-features --features ${{matrix.features}} --verbose
2230 - name : Run Tests
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ readme = "README.md"
1010repository = " https://github.com/rust-embedded-community/embedded-sdmmc-rs"
1111version = " 0.8.0"
1212
13+ # Make sure to update the CI too!
14+ rust-version = " 1.76"
15+
1316[dependencies ]
1417byteorder = {version = " 1" , default-features = false }
1518defmt = {version = " 0.3" , optional = true }
You can’t perform that action at this time.
0 commit comments