From 0d781a1aa941e5d4036334598c54a4d914c51c08 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Thu, 4 Mar 2021 19:36:18 +0100 Subject: [PATCH] Enable Github Actions for testing --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..190164d --- /dev/null +++ b/.github/workflows/test.yml @@ -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