From 4ab44a5f1aa517ae3b38d9a63fb03fd229137c60 Mon Sep 17 00:00:00 2001 From: KooshaPari Date: Mon, 1 Jun 2026 20:14:54 -0700 Subject: [PATCH] fix(ci): add reusable/cargo-deny.yml at expected subdir path Consumers reference `uses: KooshaPari/phenotype-tooling/.github/workflows/reusable/cargo-deny.yml@main` but the file only existed at the flat path `reusable-cargo-deny.yml`. Creating the subdir path fixes workflow-parse failures in: - phenoRouterMonitor - phenotype-bus - phenotype-journeys - Authvault - PhenoObservability --- .github/workflows/reusable/cargo-deny.yml | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/reusable/cargo-deny.yml diff --git a/.github/workflows/reusable/cargo-deny.yml b/.github/workflows/reusable/cargo-deny.yml new file mode 100644 index 00000000..54416b80 --- /dev/null +++ b/.github/workflows/reusable/cargo-deny.yml @@ -0,0 +1,28 @@ +# Reusable cargo-deny — call from consumer repos: +# jobs: +# cargo-deny: +# uses: KooshaPari/phenotype-tooling/.github/workflows/reusable/cargo-deny.yml@main +name: Reusable cargo-deny + +on: + workflow_call: + +permissions: + contents: read + +jobs: + cargo-deny: + runs-on: ubuntu-24.04 + steps: + - name: Checkout + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.2.2 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 + with: + toolchain: stable + + - name: Run cargo-deny + uses: EmbarkStudios/cargo-deny-action@91bf2b620e09e18d6eb78b92e7861937469acedb # v6 + with: + rust-version: stable