Skip to content

Commit c61d848

Browse files
committed
CI: Update workflows and add hwi feat deps
- update code_coverage workflow to use the latest actions - add hidapi dependencies to workflows to fix failing compilation
1 parent 121336d commit c61d848

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/code_coverage.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,21 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
persist-credentials: false
1919
- name: Install system dependencies
2020
run: |
2121
sudo apt-get update
22-
sudo apt-get install -y libudev-dev libusb-1.0-0-dev lcov
22+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev pkg-config lcov
2323
- name: Install Rust toolchain
24-
uses: actions-rs/toolchain@v1
24+
uses: actions-rust-lang/setup-rust-toolchain@v1
2525
with:
2626
toolchain: stable
2727
override: true
2828
profile: minimal
2929
components: llvm-tools-preview
30-
- name: Rust Cache
31-
uses: Swatinem/rust-cache@v2.7.8
30+
cache: true
3231
- name: Install grcov
3332
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
3433
- name: Test

.github/workflows/cont_integration.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v6
25+
- name: Install system dependencies
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev pkg-config
2529
- name: Setup Rust Toolchain
2630
uses: actions-rust-lang/setup-rust-toolchain@v1
2731
with:
@@ -45,7 +49,10 @@ jobs:
4549
steps:
4650
- name: Checkout
4751
uses: actions/checkout@v6
48-
52+
- name: Install system dependencies
53+
run: |
54+
sudo apt-get update
55+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev pkg-config
4956
- name: Install Rust toolchain
5057
uses: actions-rust-lang/setup-rust-toolchain@v1
5158
with:

0 commit comments

Comments
 (0)