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