Add GHA and readme usage examples

This commit is contained in:
2023-03-25 08:32:51 +01:00
parent 075d3a7764
commit ead8e36753
3 changed files with 71 additions and 20 deletions

14
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Test
on: [push, pull_request]
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