From 52a606098b576e056fa8ec6e253e8d1d0624d2b5 Mon Sep 17 00:00:00 2001 From: "Hadrien G." Date: Mon, 23 Oct 2023 06:16:44 +0200 Subject: [PATCH] Check if cargo-semver-checks can now accept "" features --- .github/workflows/ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eef144ad..a17910b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,26 +123,14 @@ jobs: - name: Build docs run: cargo doc ${{ env.JOB_FLAGS }} - - name: Check semver (with extra features) + - name: Check semver compliance uses: obi1kenobi/cargo-semver-checks-action@v2 - if: matrix.features != '""' with: package: hwlocality-sys # TODO: Extend once hwlocality is released feature-group: default-features features: ${{ matrix.features }} rust-toolchain: manual - # FIXME: Remove + simplify above if/when cargo semver-checks ends up - # accepting "" as valid features - # https://github.com/obi1kenobi/cargo-semver-checks/issues/565 - - name: Check semver (w/o extra features) - uses: obi1kenobi/cargo-semver-checks-action@v2 - if: matrix.features == '""' - with: - package: hwlocality-sys # TODO: Extend once hwlocality is released - feature-group: default-features - rust-toolchain: manual - # Run the tests and examples on all supported OSes and Rust versions (main CI) #