Skip to content

Commit 6b2e3b0

Browse files
authored
ci: remove cargo-semver-checks from security-medium (#11)
cachekit-rs is PyO3 bindings only, not a public Rust API. The actual Rust library (cachekit-core) is published separately at https://crates.io/crates/cachekit-core
1 parent 618a349 commit 6b2e3b0

File tree

1 file changed

+5
-27
lines changed

1 file changed

+5
-27
lines changed

.github/workflows/security-medium.yml

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -99,43 +99,21 @@ jobs:
9999
cd rust
100100
cargo miri test --lib --no-default-features --features encryption encryption
101101
102-
cargo-semver-checks:
103-
name: API Stability
104-
runs-on: ubuntu-latest
105-
timeout-minutes: 10
106-
steps:
107-
- uses: actions/checkout@v4
108-
with:
109-
fetch-depth: 0
110-
111-
- name: Check for previous version
112-
id: check-tag
113-
run: |
114-
if git describe --tags --abbrev=0 2>/dev/null; then
115-
echo "has_tag=true" >> $GITHUB_OUTPUT
116-
else
117-
echo "⚠️ No previous version found - skipping semver check"
118-
echo "has_tag=false" >> $GITHUB_OUTPUT
119-
fi
120-
121-
- name: Check for breaking changes
122-
if: steps.check-tag.outputs.has_tag == 'true'
123-
uses: obi1kenobi/cargo-semver-checks-action@v2
124-
with:
125-
manifest-path: rust/Cargo.toml
102+
# Note: cargo-semver-checks removed - cachekit-rs is PyO3 bindings only,
103+
# not a public Rust API. The actual Rust library (cachekit-core) is a
104+
# separate crate published at https://crates.io/crates/cachekit-core
126105

127106
# Summary job
128107
security-medium-success:
129108
name: Security Medium Success
130109
runs-on: ubuntu-latest
131-
needs: [cargo-geiger, miri-subset, cargo-semver-checks]
110+
needs: [cargo-geiger, miri-subset]
132111
if: always()
133112
steps:
134113
- name: Check all security checks passed
135114
run: |
136115
if [[ "${{ needs.cargo-geiger.result }}" != "success" ]] || \
137-
[[ "${{ needs.miri-subset.result }}" != "success" ]] || \
138-
[[ "${{ needs.cargo-semver-checks.result }}" != "success" ]]; then
116+
[[ "${{ needs.miri-subset.result }}" != "success" ]]; then
139117
echo "❌ One or more medium security checks failed"
140118
exit 1
141119
fi

0 commit comments

Comments
 (0)