agate/.github/workflows/test.yml
Johann150 be2d6f9f00
add CI actions
actual tests will still have to be added.
2021-02-19 12:20:16 +01:00

33 lines
651 B
YAML

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