bebot/.gitea/workflows/ci.yaml
Brian J. Tarricone 74aa5d724d
All checks were successful
CI / CI (push) Successful in 8m17s
Add gitea CI workflow
2023-09-19 22:39:52 -07:00

24 lines
528 B
YAML

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