diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..3a339a8 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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