pmtree/.github/workflows/build-test-fmt.yml

22 lines
390 B
YAML
Raw Normal View History

name: Build-Test-Fmt
on: [push, pull_request]
jobs:
2022-12-05 11:17:52 +00:00
build-test-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2022-12-05 11:17:52 +00:00
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
2022-12-05 11:17:52 +00:00
- name: Test
run: cargo test
2022-12-05 11:17:52 +00:00
- name: Fmt
run: cargo fmt -- --check