CI: Install build dependencies when linting

This commit is contained in:
Jack Grigg
2020-08-30 22:20:32 +01:00
parent 0edda98f4c
commit 05f7f1b076
+4
View File
@@ -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: