Skip to content

Merge CI triggered from @eljobe of #2

Merge CI triggered from @eljobe of

Merge CI triggered from @eljobe of #2

Workflow file for this run

---
name: CI
run-name: Merge CI triggered from @${{ github.actor }} of ${{ github.head_ref }}
on:
merge_group:
jobs:
# --- Determine which files have changed ---
changes:
name: Detect file changes
runs-on: ubuntu-4
outputs:
arbitrator_changed: ${{ steps.changed.outputs.arbitrator_any_changed }}
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 10 # Will cover most PRs
persist-credentials: true # In case changed-files requires deeper depth
- name: Determine if Arbitrator changed
id: changed
uses: tj-actions/[email protected]
with:
files_yaml: |
arbitrator:
- 'arbitrator/**'
- 'contracts/**'
- 'Makefile'
# --- Fast: Build + Lint only (required by can_proceed) ---
fast:
uses: ./.github/workflows/_fast.yml
secrets: inherit
# --- Run Arbitrator tests (not required by can_proceed) ---
arbitrator:
needs: changes
if: needs.changes.outputs.arbitrator_changed == 'true'
uses: ./.github/workflows/_arbitrator.yml
secrets: inherit
with:
run: true
# --- Full GO tests (not required by can_proceed) ---
go-tests:
uses: ./.github/workflows/_go_tests.yml
secrets: inherit
can_proceed:
name: can_proceed
runs-on: ubuntu-4
needs: [fast, arbitrator, go-tests]
steps:
- name: OK
run: exit 0
can_see_status:
runs-on: ubuntu-4
steps:
- run: true