Skip to content

refactor: optimize compile speed (skip fetch deps) #34

refactor: optimize compile speed (skip fetch deps)

refactor: optimize compile speed (skip fetch deps) #34

Workflow file for this run

name: Basic check and lint
on:
push:
branches: [ main, develop-m1 ]
pull_request:
branches: [ main, develop-m1 ]
env:
CARGO_TERM_COLOR: always
jobs:
basic-lint-and-check:
runs-on: ubuntu-latest
name: Basic ci-check for fmt/clippy/check
steps:
- uses: actions/checkout@v2
- name: Install required deps
run: sudo apt-get install libudev-dev libdw-dev
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: nightly
- name: Run check
run: cargo +nightly check --all-targets
- name: Run fmt
run: cargo +nightly fmt --all -- --check
- name: Run clippy
run: cargo +nightly clippy --all-targets -- -D warnings