Skip to content

fix(ci): install cmake and libhwloc-dev #2

fix(ci): install cmake and libhwloc-dev

fix(ci): install cmake and libhwloc-dev #2

Workflow file for this run

name: lint
on:
push:
paths:
- "**.rs"
- "**.toml"
- "**.yaml"
- "**.yml"
pull_request:
paths:
- "**.rs"
- "**.toml"
- "**.yaml"
- "**.yml"
env:
CARGO_TERM_COLOR: always
jobs:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check cargo-deny
run: cargo deny check --show-stats
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Run rustfmt
run: rustfmt --edition 2021 --check $(find ./crates -type f -iname '*.rs')