diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2020-12-01 08:18:35 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2020-12-01 08:18:35 +0100 |
commit | 3d3cafc6609056e998e39352e86d19d8a6b08041 (patch) | |
tree | 3b14857aaff978538f636a397833993ee6d6df76 /.github/workflows/clippy.yml | |
parent | 2a0cd296790cd8c4b8e58c1dd8a24301a1a8e3f2 (diff) | |
download | ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.gz ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.xz ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.zip |
Use GitHub Actions instead of Travis for CI
Diffstat (limited to '.github/workflows/clippy.yml')
-rw-r--r-- | .github/workflows/clippy.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 0000000..edf92fb --- /dev/null +++ b/.github/workflows/clippy.yml @@ -0,0 +1,21 @@ +on: [push, pull_request] + +name: Clippy check + +env: + RUSTFLAGS: '-D warnings' + +jobs: + clippy_check: + runs-on: ubuntu-latest + 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 }} |