Add github action

This commit is contained in:
Armin Becher 2022-08-17 21:41:07 +02:00 committed by GitHub
parent 71925158ac
commit beb908b6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/rust.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run test
run: cargo test --verbose
- name: Run test release
run: cargo test --verbose --release