From 3d3cafc6609056e998e39352e86d19d8a6b08041 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 1 Dec 2020 08:18:35 +0100 Subject: Use GitHub Actions instead of Travis for CI --- .github/workflows/clippy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/clippy.yml (limited to '.github/workflows/clippy.yml') 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 }} -- cgit v1.2.3-54-g00ecf