Yard/.gitea/workflows/cargo.yaml

18 lines
433 B
YAML
Raw Normal View History

2023-08-18 09:53:21 +00:00
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