Skip to content

Commit 5ccc2b2

Browse files
update workflow
1 parent 08c4235 commit 5ccc2b2

4 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/rust.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,36 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Format
17+
- name: Format Devices
1818
run: |
1919
cd device
2020
for package in $(ls -d usb*); do
21+
echo Format $package
2122
(cd $package && cargo fmt --check)
2223
done
23-
cd ..
24+
- name: Format Rust Host
25+
run: |
2426
cd host/usb-bulk-rust
2527
cargo fmt --check
26-
- name: Build
28+
- name: Build Devices
2729
run: |
2830
cd device
2931
for package in $(ls -d usb*); do
32+
echo Build $package
3033
(cd $package && cargo build)
3134
done
32-
cd ..
35+
- name: Build Rust Host
36+
run: |
3337
cd host/usb-bulk-rust
3438
cargo build
35-
- name: Clippy
39+
- name: Clippy Devices
3640
run: |
3741
cd device
42+
echo Clippy $package
3843
for package in $(ls -d lab*); do
3944
(cd $package && cargo clippy)
4045
done
41-
cd ..
46+
- name: Clippy Rust Host
47+
run: |
4248
cd host/usb-bulk-rust
4349
cargo clippy

device/usb-bulk-raspberry-pi-pico2/rust-coolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[toolchain]
55
# The rust channel to be used.
66
channel = "stable"
7-
version = "1.85"
7+
version = "1.91.1"
88
# The additional componets to be installed along the Rust toolchain.
99
components = ["rust-src", "rustfmt", "rust-analyzer", "llvm-tools", "clippy"]
1010
# The targets for compilation that need to be added. This is used for

device/usb-bulk-stm32-nucleo-f429zi/rust-coolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[toolchain]
55
# The rust channel to be used.
66
channel = "stable"
7-
version = "1.85"
7+
version = "1.91.1"
88
# The additional componets to be installed along the Rust toolchain.
99
components = ["rust-src", "rustfmt", "rust-analyzer", "llvm-tools", "clippy"]
1010
# The targets for compilation that need to be added. This is used for
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
22
channel = "stable"
3+
version = "1.91.1"
34
components = [ "rustfmt", "rust-analyzer", "clippy", "rust-src", "llvm-tools" ]
45
targets = [ "thumbv8m.main-none-eabihf" ]
5-

0 commit comments

Comments
 (0)