lint-and-reload / lint (push) Failing after 0s
Alternativet meldte fra at hjelpen var gitt, men sa ikke hvor i forløpet det kunne gjøres, og standarden er første steg. Et hjelpe- behov går open -> formidlet -> ordnet, så regelen ble open -> ordnet, en kant maskinen ikke har. Knappen har aldri virket. Nå står det formidlet, som er der naboen faktisk kan si fra. Funnet av iris v0.5.1, som sjekker at et self_transition peker på en kant maskinen har. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
27 lines
887 B
YAML
27 lines
887 B
YAML
# Lint on the kasse runner (the portal instance lives there), then
|
|
# nudge the running portal to refetch content over local NATS.
|
|
name: lint-and-reload
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: fish
|
|
steps:
|
|
- name: checkout
|
|
run: |
|
|
rm -rf checkout && git clone --depth 1 "${{ github.server_url }}/${{ github.repository }}.git" checkout
|
|
# iris is portal's lint; pin it to the portal release the instance
|
|
# runs (v0.3.36 on kasse).
|
|
- name: lint
|
|
env:
|
|
IRIS_RELEASE: v0.5.1
|
|
run: |
|
|
curl -sfL "https://project.uhhm.no/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o iris && chmod +x iris
|
|
./iris check --path checkout/questions
|
|
- name: reload
|
|
if: github.event_name == 'push'
|
|
run: nats --server nats://127.0.0.1:4222 pub portal.content.reload ""
|