From e702ee308116fa04de438ee873251336ef6980a7 Mon Sep 17 00:00:00 2001 From: Shane Madden Date: Mon, 19 Aug 2024 15:20:50 -0600 Subject: [PATCH] drop to just one file --- .github/workflows/{lint.yml => check.yml} | 8 +++++--- .github/workflows/test.yml | 17 ----------------- 2 files changed, 5 insertions(+), 20 deletions(-) rename .github/workflows/{lint.yml => check.yml} (79%) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/check.yml similarity index 79% rename from .github/workflows/lint.yml rename to .github/workflows/check.yml index eed82831..1d975491 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/check.yml @@ -1,19 +1,21 @@ on: [push, pull_request] -name: lint +name: check jobs: - lint-stable: + test-stable: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo fmt --all -- --check - run: cargo clippy --all-features -- -D warnings - lint-nightly: + - run: cargo test --all-features + test-nightly: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - run: cargo fmt --all -- --check - run: cargo clippy --all-features -- -D warnings + - run: cargo test --all-features diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 29cdf6c5..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: [push, pull_request] - -name: test - -jobs: - test-stable: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - run: cargo test --all-features - test-nightly: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@nightly - - run: cargo test --all-features \ No newline at end of file