ares/.github/workflows/ares.yml
Alex Shelkovnykov c045bc6705
[build] add format check to CI workflow
Co-authored-by: Edward Amsden <edward@tlon.io>
2023-02-28 14:00:40 +01:00

29 lines
419 B
YAML

name: Ares
on:
push:
branches: [ "status" ]
pull_request:
branches: [ "status" ]
env:
CARGO_TERM_COLOR: always
defaults:
run:
working-directory: rust/ares
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt --check
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose