Skip to content

Commit

Permalink
Clippy ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lucazulian committed Sep 14, 2024
1 parent d200bc6 commit 3645014
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/mcp23017-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- '**'
tags:
- "*.*.*"
schedule:
- cron: 0 0 * * 0

env:
RUSTFLAGS: '--deny warnings'
Expand Down Expand Up @@ -54,12 +52,6 @@ jobs:
- run: ./ci/patch-no-std.sh
if: ${{ ! contains(matrix.TARGET, 'x86_64') }}

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ matrix.TARGET }}

checks:
name: Checks
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,6 +88,15 @@ jobs:
args: --all-targets --all-features -- -D warnings
token: ${{ secrets.GITHUB_TOKEN }}

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all-features -- --deny=warnings

test:
name: Tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3645014

Please sign in to comment.