Skip to content

Avoid rewriting sorted file (#68) #123

Avoid rewriting sorted file (#68)

Avoid rewriting sorted file (#68) #123

Workflow file for this run

name: Rust Nightly
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Catch common mistakes
uses: actions-rs/cargo@v1
with:
command: mean-clippy
- name: Sort Cargo.toml
run: cargo install cargo-sort && cargo sort -gc