Skip to content

fix: stabilize CLI contract test spawning #34

fix: stabilize CLI contract test spawning

fix: stabilize CLI contract test spawning #34

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- name: Install Node dependencies
run: npm ci
- name: Provision pinned Darktide source snapshot
run: |
PINNED_SHA=$(node -e "console.log(JSON.parse(require('fs').readFileSync('data/ground-truth/source-snapshots/manifest.json','utf8')).git_revision)")
git init ../Darktide-Source-Code
cd ../Darktide-Source-Code
git remote add origin https://github.com/Aussiemon/Darktide-Source-Code.git
git fetch --depth 1 origin "$PINNED_SHA"
git checkout FETCH_HEAD
- name: Run checks
env:
GROUND_TRUTH_SOURCE_ROOT: ../Darktide-Source-Code
run: make check