1name: Rust 2 3on: 4 workflow_dispatch: 5 push: 6 branches: [ "main" ] 7 pull_request: 8 branches: [ "main" ] 9 10env: 11 CARGO_TERM_COLOR: always 12 13jobs: 14 build-check: 15 16 runs-on: ubuntu-latest 17 18 steps: 19 - uses: actions/checkout@v3 20 - name: build check 21 run: make check 22 23 fmt-check: 24 25 runs-on: ubuntu-latest 26 27 steps: 28 - uses: actions/checkout@v3 29 - name: Build 30 run: make fmt-check 31