You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
474B

  1. name: Rust
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Build
  9. run: cargo build --verbose
  10. - name: Run tests
  11. run: cargo test --verbose
  12. clippy_check:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v1
  16. - run: rustup component add clippy
  17. - uses: actions-rs/clippy-check@v1
  18. with:
  19. token: ${{ secrets.GITHUB_TOKEN }}
  20. args: --all-features