mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-10-07 09:19:00 +00:00
25 lines
931 B
YAML
25 lines
931 B
YAML
name: CI (.NET)
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
merge_group:
|
|
|
|
jobs:
|
|
select-runner:
|
|
# Picks GitHub-hosted while Actions is operational, the org self-hosted
|
|
# runner otherwise. See callable-select-runner.yaml for the policy.
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-select-runner.yaml@REPLACE-ME # vX.Y.Z
|
|
permissions:
|
|
actions: read
|
|
|
|
ci:
|
|
# Job id MUST stay `ci`: the reusable's job is also `ci`, so the check
|
|
# context resolves to the required `ci / ci`.
|
|
#
|
|
# Every input is optional. Common overrides: `solution` (defaults to *.sln
|
|
# in the working directory), `working-directory`, and `dotnet-version`
|
|
# (defaults to 8.0.x). This reusable has no `node-version` input.
|
|
needs: select-runner
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/ci-dotnet.yaml@REPLACE-ME # vX.Y.Z
|
|
with:
|
|
runner: ${{ needs.select-runner.outputs.runner }}
|