Make clippy warnings errors #112
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
on: [push, pull_request] | |
name: Continuous Integration | |
jobs: | |
rust_check: | |
name: Rust check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Run checks on stable and nightly Rust | |
rust: [stable, nightly] | |
include: | |
# Run check with MSRV as well | |
- rust: 1.60.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
target: riscv32imac-unknown-none-elf | |
override: true | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check |