contego/.github/workflows/ci.yml

22 lines
350 B
YAML

name: Cargo Build & Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose