ci.yml 696 B

123456789101112131415161718192021222324252627282930
  1. name: Continuous Integration
  2. on: push
  3. env:
  4. CARGO_TERM_COLOR: always
  5. jobs:
  6. check:
  7. runs-on: ubuntu-latest
  8. name: Check
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: cargo check
  12. run: cargo check
  13. test:
  14. runs-on: ubuntu-latest
  15. name: Test
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: cargo test
  19. run: cargo test
  20. # uncomment to enable clippy lints
  21. # clippy:
  22. # runs-on: ubuntu-latest
  23. # name: Lint (clippy)
  24. # steps:
  25. # - uses: actions/checkout@v2
  26. # - name: cargo clippy
  27. # run: cargo clippy -- -D warnings