xref: /StarryEngine/.github/workflows/fmt-check.yml (revision f33c7b22a5870071cca9eef34949e88cd35c55ba)
148d97639Syuyi2439name: fmt-check
248d97639Syuyi2439
348d97639Syuyi2439on:
448d97639Syuyi2439  workflow_dispatch:
548d97639Syuyi2439  push:
648d97639Syuyi2439    branches: [ "master" ]
748d97639Syuyi2439  pull_request:
848d97639Syuyi2439    branches: [ "master" ]
948d97639Syuyi2439
1048d97639Syuyi2439env:
1148d97639Syuyi2439  CARGO_TERM_COLOR: always
1248d97639Syuyi2439
1348d97639Syuyi2439jobs:
1448d97639Syuyi2439  fmt-check:
1548d97639Syuyi2439    runs-on: ubuntu-latest
1648d97639Syuyi2439
1748d97639Syuyi2439    steps:
1848d97639Syuyi2439    - uses: actions/checkout@v3
19*f33c7b22Syuyi2439    - name: fmt check
2048d97639Syuyi2439      run: make fmt-check
21