Skip to content

Commit

Permalink
Merge pull request #71 from HadrienG2/new-semver-checks-release
Browse files Browse the repository at this point in the history
Check if cargo-semver-checks can now accept "" features
  • Loading branch information
HadrienG2 authored Oct 29, 2023
2 parents 1a78fc2 + 52a6060 commit 66b9fb8
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
Expand Down

0 comments on commit 66b9fb8

Please sign in to comment.