rust.yml 414 B

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