Skip to content

Commit 84cea6d

Browse files
committed
verify msrv in ci
1 parent 8c5e5eb commit 84cea6d

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/rust.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,21 @@ jobs:
147147
- uses: actions/upload-artifact@v2
148148
with:
149149
name: cargo-espflash.exe
150-
path: target/x86_64-pc-windows-gnu/release/cargo-espflash.exe
150+
path: target/x86_64-pc-windows-gnu/release/cargo-espflash.exe
151+
msrv:
152+
name: Check MSRV
153+
runs-on: ubuntu-latest
154+
steps:
155+
- name: build dependencies
156+
run: |
157+
sudo apt-get install musl-tools libudev-dev
158+
- uses: actions/checkout@v2
159+
- uses: actions-rs/toolchain@v1
160+
with:
161+
profile: minimal
162+
toolchain: 1.55
163+
override: true
164+
- uses: Swatinem/rust-cache@v1
165+
- uses: actions-rs/cargo@v1
166+
with:
167+
command: check

0 commit comments

Comments
 (0)