chore: deploy agentic workflows (#35) #98
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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@40fa987f5bc78d7569b9b76274f24d032ac0d7c8 | |
| 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 |