diff options
author | Yigit Sever | 2022-04-18 21:22:21 +0300 |
---|---|---|
committer | GitHub | 2022-04-18 21:22:21 +0300 |
commit | 1ae69f37e13cb3fa99416c5e02182468d0189cb4 (patch) | |
tree | a624d57566603b665e5e73511f10dac69f25bbbe /.github | |
parent | df0819ce4476f7203c462247f7c2e887163b16b3 (diff) | |
download | gradecoin-1ae69f37e13cb3fa99416c5e02182468d0189cb4.tar.gz gradecoin-1ae69f37e13cb3fa99416c5e02182468d0189cb4.tar.bz2 gradecoin-1ae69f37e13cb3fa99416c5e02182468d0189cb4.zip |
Add rust check workflow
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 | ||