aquatic/.github/workflows/cargo-build-and-test.yml
2021-08-17 13:10:01 +02:00

22 lines
387 B
YAML

name: 'cargo: build and test'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --workspace --all-targets
- name: Run tests
run: cargo test --verbose --workspace --all-targets