Browse Source

add GHA test & clippy

main
arnaucube 6 months ago
parent
commit
28aca46a46
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .github/workflows/ci.yml

+ 20
- 0
.github/workflows/ci.yml

@ -0,0 +1,20 @@
name: Test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --verbose
- name: Tests
run: |
cargo test --release --verbose
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clippy
run: cargo clippy --all-targets --all-features

Loading…
Cancel
Save