diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..79251f5 --- /dev/null +++ b/.github/workflows/rust.yml | |||
@@ -0,0 +1,22 @@ | |||
1 | name: Rust | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | branches: [ main ] | ||
6 | pull_request: | ||
7 | branches: [ main ] | ||
8 | |||
9 | env: | ||
10 | CARGO_TERM_COLOR: always | ||
11 | |||
12 | jobs: | ||
13 | build: | ||
14 | |||
15 | runs-on: ubuntu-latest | ||
16 | |||
17 | steps: | ||
18 | - uses: actions/checkout@v3 | ||
19 | - name: Build | ||
20 | run: cargo build --verbose | ||
21 | - name: Run tests | ||
22 | run: cargo test --verbose | ||