Add gitea CI workflow
Some checks failed
CI / janitorial (push) Failing after 2m45s

This commit is contained in:
Brian Tarricone 2023-09-19 21:23:40 -07:00
parent bfd146de95
commit e7e7146f58

20
.gitea/workflows/ci.yaml Normal file
View File

@ -0,0 +1,20 @@
name: CI
on:
- push
jobs:
ci:
name: janitorial
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy
- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: formatting
run: cargo fmt --check
- name: test
run: cargo test --release