aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/check.yml
blob: 3ad9a4454e5eb5f5dc557f9eaa0ce2a8096158e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Build and Test

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: cargo fmt -- --check
    - run: cargo build --verbose
    - run: cargo test --verbose