Files
questions/.gitea/workflows/lint-and-reload.yml
T
blandClaude Fable 5.1 19daedd16f
lint-and-reload / lint (push) Successful in 1s
Lint with iris v0.1.0
The lint now lives in uhhm/iris, pinned to the portal release it
matches; question_lint leaves the portal tarball.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4jrCgLiKKHAEFuZUJjckH
2026-09-22 17:42:31 +02:00

24 lines
741 B
YAML

# Lint on the kasse host runner (the portal binary lives there), then
# nudge the running portal to refetch content over local NATS.
name: lint-and-reload
on:
push:
branches: [main]
jobs:
lint:
runs-on: fish
steps:
- name: checkout
run: |
rm -rf checkout && git clone --depth 1 https://prosjekt.klingenbergbygg.no/westra/questions.git checkout
- name: lint
env:
IRIS_RELEASE: v0.1.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
run: |
nats --server nats://127.0.0.1:4222 pub portal.content.reload ""