Skip to content

Merge pull request #20 from forged-org/feature/cli-updates #41

Merge pull request #20 from forged-org/feature/cli-updates

Merge pull request #20 from forged-org/feature/cli-updates #41

Workflow file for this run

name: Check Rust Client
on:
push:
branches: [main]
pull_request:
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo fmt --all -- --check
working-directory: ./forged-rs
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y libusb-1.0-0-dev libudev-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: cache dependencies
uses: swatinem/[email protected]
with:
working-directory: ./forged-rs
- run: cargo clippy
working-directory: ./forged-rs