diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 00000000..4d7370df --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,26 @@ +name: CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Build + uses: actions-rs/cargo@v1.0.1 + with: + command: build + - name: Test + uses: actions-rs/cargo@v1.0.1 + with: + command: test + clippy: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v1 + - name: rust-clippy-check + uses: actions-rs/clippy-check@v1.0.5 + with: + token: ${{ secrets.GITHUB_TOKEN }}