commit be2d6f9f001324770b541c2a5b06eb123182b11c parent bc501ebcc5b0677e31ffafdd8e6804526237bc01 Author: Johann150 <johann.galle@protonmail.com> Date: Fri, 19 Feb 2021 12:20:16 +0100 add CI actions actual tests will still have to be added. Diffstat:
R | .github/workflows/rust.yml -> .github/workflows/release.yml | | | 0 | |
A | .github/workflows/test.yml | | | 33 | +++++++++++++++++++++++++++++++++ |
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/release.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -0,0 +1,33 @@ +name: Tests + +on: + push: + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features + formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Formatting + uses: actions-rs/cargo@v1 + with: + command: fmt + args: -- --check + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/cargo@v1 + with: + command: test