Skip to content

remove old cargo action #81

remove old cargo action

remove old cargo action #81

Workflow file for this run

on: [push]
name: Rust
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Build Deps
run: sudo apt install libusb-1.0-0-dev libusb-1.0.0
- name: setup pkg-config
run: export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig
- name: Install Latest Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Run Cargo Build
run: cargo build --release --all-features
clippy_check:
name: Clippy Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features