Add github action
This commit is contained in:
parent
71925158ac
commit
beb908b6d5
1 changed files with 20 additions and 0 deletions
20
.github/workflows/rust.yml
vendored
Normal file
20
.github/workflows/rust.yml
vendored
Normal 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
|
Loading…
Reference in a new issue