Add gitea CI workflow
This commit is contained in:
parent
bfd146de95
commit
62767575ec
18
.gitea/workflows/ci.yaml
Normal file
18
.gitea/workflows/ci.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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
|
||||||
|
- run: |
|
||||||
|
cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
cargo fmt --check
|
||||||
|
cargo test --release
|
Loading…
Reference in New Issue
Block a user