Enable Github Actions for testing

This commit is contained in:
Lewin Bormann
2021-03-04 19:36:18 +01:00
parent 9a29525cd7
commit 0d781a1aa9

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

@@ -0,0 +1,20 @@
on: [push, pull_request]
name: Actions CI
jobs:
build_and_test:
name: yup-oauth2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/cargo@v1
with:
command: build
args: --examples