diff options
| author | diogo464 <[email protected]> | 2021-07-11 10:13:45 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-11 10:13:45 +0100 |
| commit | 68fea411d5f7fe6c4d38ddc11b897c48b45122e4 (patch) | |
| tree | 0a9168a2cdef74af48427b6c0680f2818b61d2fa /.github/workflows/rust.yml | |
| parent | 63b2682894311f5021c2896e6450f403a5e1116c (diff) | |
Added default rust workflow
Diffstat (limited to '.github/workflows/rust.yml')
| -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..3c13d1b --- /dev/null +++ b/.github/workflows/rust.yml | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | name: Rust | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ master ] | ||
| 6 | pull_request: | ||
| 7 | branches: [ master ] | ||
| 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@v2 | ||
| 19 | - name: Build | ||
| 20 | run: cargo build --verbose | ||
| 21 | - name: Run tests | ||
| 22 | run: cargo test --verbose | ||
