diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f0ba1ec..2d05024 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,7 @@ on: pull_request: types: [opened, synchronize, reopened] branches: main + schedule: [cron: "0 7 * * *"] env: RUSTFLAGS: -Dwarnings @@ -16,18 +17,28 @@ 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 + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features + test: name: test ${{matrix.os}}-${{ matrix.rust }} needs: check