Merge pull request #31 from urbit/eamsden-configure-CI

Github-suggested Rust workflow
This commit is contained in:
Alex Shelkovnykov 2023-02-28 18:36:32 +01:00 committed by GitHub
commit f4bbc255f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/ares.yml vendored Normal file
View File

@ -0,0 +1,28 @@
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