-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
FroVolod
committed
Jan 25, 2024
1 parent
5d65af8
commit a3339e8
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install libudev-dev | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --assume-yes libudev-dev | ||
- name: run cargo doc | ||
run: RUSTDOCFLAGS="-D warnings" cargo doc | ||
|
||
|
@@ -66,6 +70,10 @@ jobs: | |
- uses: Swatinem/rust-cache@v1 | ||
- name: Add wasm32 target | ||
run: rustup target add wasm32-unknown-unknown | ||
- name: Install libudev-dev | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --assume-yes libudev-dev | ||
- name: Check with stable features | ||
run: cargo check --verbose | ||
- name: Run tests with unstable features | ||
|
@@ -83,6 +91,9 @@ jobs: | |
token: ${{ secrets.MY_GITHUB_TOKEN }} | ||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Install packages (Linux) | ||
if: runner.os == 'Linux' | ||
run: sudo apt-get update && sudo apt-get install --assume-yes libudev-dev | ||
- name: Run release-plz | ||
uses: MarcoIeni/[email protected] | ||
env: | ||
|