feat: Upgraded cargo-dist to 0.21.1 and enabled Linux ARM64 build #375
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: Code Style | |
on: | |
pull_request: | |
jobs: | |
codestyle: | |
name: Code Style (fmt + clippy) | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
components: rustfmt | |
- name: Check formatting | |
run: | | |
cargo fmt --all -- --check | |
- name: Install libudev-dev | |
run: | | |
sudo apt-get update | |
sudo apt-get install --assume-yes libudev-dev | |
- name: Check lints (cargo clippy) | |
run: cargo clippy -- -D warnings | |