Skip to content

adress comments and fix workflow #1269

adress comments and fix workflow

adress comments and fix workflow #1269

Workflow file for this run

name: Rust Code Formatting
on:
push:
pull_request:
types: [opened, reopened]
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- name: Setup Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Check format
run: cargo fmt -- --check --verbose