From 4905deb075ce5ae63867c42e1a907eb84f380abd Mon Sep 17 00:00:00 2001 From: Mike Odnis Date: Fri, 17 Apr 2026 01:03:14 -0400 Subject: [PATCH 1/2] ci: add reusable rust-ci from resq-software/.github MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First CI workflow for this repo. Calls the org-wide reusable `rust-ci.yml` (fmt + clippy + test) pinned to the PR#12 tip SHA. Adds a top-level `required` aggregator job to emit the status-check context consumed by the org ruleset `default-branch-baseline` (currently evaluate-mode). Security scanning remains in security.yml — independent cadence. After resq-software/.github#12 lands, update the @SHA ref. --- .github/workflows/ci.yml | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..843d375 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,50 @@ +# Copyright 2026 ResQ Software +# SPDX-License-Identifier: Apache-2.0 +# +# Thin CI wrapper. Dispatches to the org-wide reusable rust-ci workflow +# in resq-software/.github; the top-level `required` job aggregates the +# result into a single status-check context consumed by the org ruleset +# `default-branch-baseline`. +# +# Security scanning runs separately in security.yml. + +name: CI + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + rust: + uses: resq-software/.github/.github/workflows/rust-ci.yml@5a723728feccfc5521dc4e5cb06237892d393553 + with: + toolchain: stable + run-fmt: true + run-clippy: true + run-test: true + run-deny: false + run-coverage: false + + required: + name: required + runs-on: ubuntu-latest + needs: [rust] + if: always() + steps: + - name: Aggregate + env: + RUST_RESULT: ${{ needs.rust.result }} + run: | + set -eu + case "$RUST_RESULT" in + success|skipped|"") echo "ok: rust=$RUST_RESULT" ;; + *) echo "::error::rust reusable returned: $RUST_RESULT"; exit 1 ;; + esac From 823878eb0b20c56fc8cdd634a95872915684078b Mon Sep 17 00:00:00 2001 From: Mike Odnis Date: Fri, 17 Apr 2026 06:11:57 -0400 Subject: [PATCH 2/2] ci: re-pin reusable workflow ref to resq-software/.github main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates @SHA from the feat-branch tip to the merge commit of resq-software/.github#12 (f4b51a620aa1bf89c0bce4f434b36f92ff7d517d). Functionally equivalent — same content — but pins to a ref that now exists on main rather than a closed PR branch. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 843d375..570c281 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ concurrency: jobs: rust: - uses: resq-software/.github/.github/workflows/rust-ci.yml@5a723728feccfc5521dc4e5cb06237892d393553 + uses: resq-software/.github/.github/workflows/rust-ci.yml@f4b51a620aa1bf89c0bce4f434b36f92ff7d517d with: toolchain: stable run-fmt: true