CI: Install build dependencies when linting
This commit is contained in:
@@ -13,6 +13,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: 1.41.0
|
toolchain: 1.41.0
|
||||||
override: true
|
override: true
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: sudo apt install libpcsclite-dev
|
||||||
|
|
||||||
# Ensure all code has been formatted with rustfmt
|
# Ensure all code has been formatted with rustfmt
|
||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
@@ -101,6 +103,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: sudo apt install libpcsclite-dev
|
||||||
- name: cargo fetch
|
- name: cargo fetch
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user