Skip to content

Commit

Permalink
reintroduce clippy and run ci every day at 7am UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
grimerssy committed Aug 20, 2024
1 parent 3adb769 commit 62f2fd7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
types: [opened, synchronize, reopened]
branches: main
schedule: [cron: "0 7 * * *"]

env:
RUSTFLAGS: -Dwarnings
Expand All @@ -16,18 +17,25 @@ env:

jobs:
check:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack
- run: cargo hack check --feature-powerset

lint:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all-features --benches --examples --tests

test:
name: test ${{matrix.os}}-${{ matrix.rust }}
needs: check
Expand Down

0 comments on commit 62f2fd7

Please sign in to comment.