Skip to content

Commit 841e49e

Browse files
authored
Merge pull request #184 from twohreichel/feat/make-ready-for-go-live
Feat/make ready for go live
2 parents 68f613d + 9edfcad commit 841e49e

142 files changed

Lines changed: 4367 additions & 1468 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,31 @@ jobs:
236236
env:
237237
RUSTDOCFLAGS: -D warnings
238238

239+
# ---------------------------------------------------------------------------
240+
# Unused Dependency Detection (cargo-machete)
241+
# ---------------------------------------------------------------------------
242+
machete:
243+
name: Unused Deps
244+
runs-on: ubuntu-latest
245+
steps:
246+
- uses: actions/checkout@v6
247+
with:
248+
fetch-depth: 1
249+
- uses: dtolnay/rust-toolchain@master
250+
with:
251+
toolchain: "1.93.0"
252+
- uses: Swatinem/rust-cache@v2
253+
- name: Install cargo-machete
254+
run: cargo install cargo-machete --locked
255+
- name: Check for unused dependencies
256+
run: cargo machete
257+
239258
# ---------------------------------------------------------------------------
240259
# CI Status Check (for branch protection)
241260
# ---------------------------------------------------------------------------
242261
ci-success:
243262
name: CI Success
244-
needs: [fmt, clippy, test, security-tests, coverage, build, doc]
263+
needs: [fmt, clippy, test, security-tests, coverage, build, doc, machete]
245264
permissions:
246265
contents: read
247266
runs-on: ubuntu-latest
@@ -256,7 +275,8 @@ jobs:
256275
[[ "${{ needs.security-tests.result }}" != "success" ]] || \
257276
[[ "${{ needs.coverage.result }}" != "success" && "${{ needs.coverage.result }}" != "skipped" ]] || \
258277
[[ "${{ needs.build.result }}" != "success" ]] || \
259-
[[ "${{ needs.doc.result }}" != "success" ]]; then
278+
[[ "${{ needs.doc.result }}" != "success" ]] || \
279+
[[ "${{ needs.machete.result }}" != "success" ]]; then
260280
echo "One or more jobs failed"
261281
exit 1
262282
fi

0 commit comments

Comments
 (0)