From 424510d56e7d66646edb94390ed0991d2786f996 Mon Sep 17 00:00:00 2001 From: josibake Date: Wed, 17 Jun 2026 09:34:57 +0100 Subject: [PATCH 1/2] ci: add Ironworks Spark workflow --- .github/workflows/ironworks-spark.yml | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/ironworks-spark.yml diff --git a/.github/workflows/ironworks-spark.yml b/.github/workflows/ironworks-spark.yml new file mode 100644 index 000000000000..90d2b97d0cc2 --- /dev/null +++ b/.github/workflows/ironworks-spark.yml @@ -0,0 +1,46 @@ +name: Ironworks Spark + +on: + pull_request: + push: + branches: + - "**" + tags-ignore: + - "**" + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} + cancel-in-progress: true + +jobs: + spark: + name: Spark + runs-on: ubuntu-24.04 + steps: + - name: Checkout source + uses: actions/checkout@v6 + with: + path: source + + - name: Checkout Ironworks + uses: actions/checkout@v6 + with: + repository: 2140-dev/ironworks + path: ironworks + + - uses: cachix/install-nix-action@v31 + with: + extra_nix_config: | + experimental-features = nix-command flakes + extra-substituters = https://2140-dev.cachix.org + extra-trusted-public-keys = 2140-dev.cachix.org-1:0brdoxVmXjL5udKuI+vXXwdEjPInGQKjCiyJLReZBt8= + + - name: Run correctness + run: | + cd ironworks + nix build .#checks.x86_64-linux.correctness \ + --override-input node path:${{ github.workspace }}/source \ + --print-build-logs From 17698b6d9e4d59a7738e5cf108eda8518a42ce27 Mon Sep 17 00:00:00 2001 From: josibake Date: Wed, 17 Jun 2026 10:05:48 +0100 Subject: [PATCH 2/2] ci: avoid duplicate Spark runs --- .github/workflows/ironworks-spark.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ironworks-spark.yml b/.github/workflows/ironworks-spark.yml index 90d2b97d0cc2..73422066c39b 100644 --- a/.github/workflows/ironworks-spark.yml +++ b/.github/workflows/ironworks-spark.yml @@ -2,17 +2,17 @@ name: Ironworks Spark on: pull_request: + branches: + - master push: branches: - - "**" - tags-ignore: - - "**" + - master permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: