From 9d87289d2932d8363df801722a09d5d5a4334863 Mon Sep 17 00:00:00 2001 From: maneatingape <44142177+maneatingape@users.noreply.github.com> Date: Fri, 27 Dec 2024 23:22:47 +0000 Subject: [PATCH] Split out lint job and increase test coverage --- .github/workflows/checks.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index cb858e8..0329969 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -7,10 +7,25 @@ on: branches: main jobs: - build: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - run: rustup install nightly --profile default + - run: rustup default nightly - run: cargo fmt --check -- **/*.rs - - run: cargo clippy --tests --features frivolity -- --deny warnings + - run: cargo clippy --all-targets --all-features -- --deny warnings + + test-stable: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: rustup default 1.83 - run: cargo test + + test-nightly: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: rustup default nightly + - run: cargo test --features simd