Skip to content

Commit

Permalink
update actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinuel committed Jul 26, 2023
1 parent e31d70b commit 36a2c85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 33 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,15 @@ jobs:
TARGET: x86_64-unknown-linux-gnu

steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.TARGET }}
override: true
targets: ${{ matrix.TARGET }}

- name: Install libusb library
run: sudo apt-get install -y libusb-1.0.0-dev

- uses: actions-rs/cargo@v1
with:
command: check
args: --all-targets

- uses: actions-rs/cargo@v1
with:
command: check
args: --features control-buffer-256

- uses: actions-rs/cargo@v1
with:
command: check
args: --features defmt
- run: cargo check --all-targets
- run: cargo check --features control-buffer-256
- run: cargo check --features defmt
17 changes: 4 additions & 13 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,9 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features

0 comments on commit 36a2c85

Please sign in to comment.