File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,17 @@ jobs:
18
18
steps :
19
19
- name : Checkout
20
20
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
25
21
- name : Build
26
22
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
27
32
format-check :
28
33
runs-on : ubuntu-latest
29
34
steps :
@@ -36,20 +41,12 @@ jobs:
36
41
steps :
37
42
- name : Checkout
38
43
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
43
44
- name : Test
44
45
run : cargo test
45
46
clippy :
46
47
runs-on : ubuntu-latest
47
48
steps :
48
49
- name : Checkout
49
50
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
54
51
- name : Clippy
55
52
run : cargo clippy --all-targets --all-features
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ authors = [
5
5
" Jonathan Pallant <[email protected] >" ,
6
6
]
7
7
edition = " 2018"
8
+ # Keep in sync with .github/workflows/check.yml
9
+ rust-version = " 1.82.0"
8
10
license = " MIT OR Apache-2.0"
9
11
readme = " README.md"
10
12
description = " A flashing tool for the nRF bootloader"
You can’t perform that action at this time.
0 commit comments