Skip to content

Commit 7fb4a5f

Browse files
Merge pull request #28 from chrysn-pull-requests/rust-version
2 parents 9465b8c + 52cfae4 commit 7fb4a5f

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,17 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
21-
- name: Dependencies
22-
run: |
23-
sudo apt-get -y update
24-
sudo apt-get -y install pkg-config libudev-dev libusb-1.0-0-dev
2521
- name: Build
2622
run: cargo build
23+
build-announced:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
- name: Install MSRV
29+
run: rustup toolchain add 1.82
30+
- name: Build
31+
run: cargo +1.82 build
2732
format-check:
2833
runs-on: ubuntu-latest
2934
steps:
@@ -36,20 +41,12 @@ jobs:
3641
steps:
3742
- name: Checkout
3843
uses: actions/checkout@v4
39-
- name: Dependencies
40-
run: |
41-
sudo apt-get -y update
42-
sudo apt-get -y install pkg-config libudev-dev libusb-1.0-0-dev
4344
- name: Test
4445
run: cargo test
4546
clippy:
4647
runs-on: ubuntu-latest
4748
steps:
4849
- name: Checkout
4950
uses: actions/checkout@v4
50-
- name: Dependencies
51-
run: |
52-
sudo apt-get -y update
53-
sudo apt-get -y install pkg-config libudev-dev libusb-1.0-0-dev
5451
- name: Clippy
5552
run: cargo clippy --all-targets --all-features

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ authors = [
55
"Jonathan Pallant <[email protected]>",
66
]
77
edition = "2018"
8+
# Keep in sync with .github/workflows/check.yml
9+
rust-version = "1.82.0"
810
license = "MIT OR Apache-2.0"
911
readme = "README.md"
1012
description = "A flashing tool for the nRF bootloader"

0 commit comments

Comments
 (0)