name: fmt-check

on:
  workflow_dispatch:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  fmt-check:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: fmt check
      run: make fmt-check
