diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml new file mode 100644 index 0000000..4b352c2 --- /dev/null +++ b/.gitea/workflows/cargo.yaml @@ -0,0 +1,18 @@ +name: Rust build & run checks +run-name: ${{ github.actor }} is building and running cargo checks +on: [push, pull_request] + +env: + CARGO_TERM_COLOR: always + +jobs: + cargo-build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Test + run: cargo test --verbose + - name: Clippy + run: cargo clippy --all-features -- -D warnings + - name: Fmt + run: cargo fmt --check \ No newline at end of file