Skip to content

Format and fix Rust code #44

Format and fix Rust code

Format and fix Rust code #44

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: "1.74"
profile: minimal
override: true
components: rustfmt, clippy
- uses: Swatinem/[email protected]
- run: make test
- run: make fix
- run: git diff HEAD --exit-code --color