Skip to content

Delete unnecessary rust-toolchain.toml #69

Delete unnecessary rust-toolchain.toml

Delete unnecessary rust-toolchain.toml #69

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check and Lint
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
rust: [stable, nightly]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-targets
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
# Update mtime on all our files so that `clippy` rechecks them
- name: Touch source files for clippy recheck
run: find -path ./target -prune -o -name "*.rs" -exec touch {} +
shell: bash
- name: Cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets -- -D warnings