18 lines
433 B
YAML
18 lines
433 B
YAML
|
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
|