diff options
| author | Adam Greig <adam@adamgreig.com> | 2021-08-15 13:04:18 +0100 |
|---|---|---|
| committer | Adam Greig <adam@adamgreig.com> | 2021-08-15 13:04:18 +0100 |
| commit | 58af3ecbfb571cabe8bfbcdd9ec1d469b579ae25 (patch) | |
| tree | f295bfbf245ebc3ad8af2bb213ce7ad80472b459 /.github/workflows | |
| parent | e94d9dcac90b4b0622f573656f32883807381145 (diff) | |
Add Github Actions and stm32ral dev-dep for doctests.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..eb90fb2 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,33 @@ +name: CI + +on: + - push + - pull_request + +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - name: Run tests + run: cargo test --all + + lint: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: clippy + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} |
