Adding support for cargo-dist releases #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Rust Client | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- 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/checkout@v2.3.4 | |
- 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/rust-cache@v1.3.0 | |
with: | |
working-directory: ./forged-rs | |
- run: cargo clippy | |
working-directory: ./forged-rs |