tests.yml 450 B

12345678910111213141516171819202122
  1. on:
  2. - push
  3. - pull_request
  4. - workflow_dispatch
  5. name: Tests
  6. jobs:
  7. tests:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Install stable toolchain
  12. uses: actions-rs/toolchain@v1
  13. with:
  14. profile: minimal
  15. toolchain: stable
  16. override: true
  17. components: rustfmt
  18. - name: Run cargo test
  19. uses: actions-rs/cargo@v1
  20. with:
  21. command: test