Files
questions/.gitea/workflows/lint-and-reload.yml
T
2026-09-23 06:04:42 +02:00

20 lines
605 B
YAML

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/klingenbergbygg/questions.git checkout
- name: lint
env:
IRIS_RELEASE: v0.3.39
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 ""