diff options
author | Santo Cariotti <santo@dcariotti.me> | 2020-11-18 19:11:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 19:11:08 +0100 |
commit | d7684b36abf5a1712dd5c6e1ab81504b704434d5 (patch) | |
tree | ab4f9b2712d63c36af1611644efe51939daf44cb /.github/workflows | |
parent | fd61dbea369510d4e352306aa25a4c96c4575fad (diff) |
Create rust.yml
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/rust.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..fbd07bf --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,26 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} |