commit 0fe261ac20a3b4f5501b30511612f74a1cfe5f2f parent ea47d146b1feecbb09d1b1e8aecd125ca1a60b8c Author: cy6erlion <50733658+cy6erlion@users.noreply.github.com> Date: Tue, 29 Dec 2020 18:21:47 +0200 Create rust.yml Diffstat:
A | .github/workflows/rust.yml | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml @@ -0,0 +1,22 @@ +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