From c491aeb63507e44b25aa0a72a8655cb3504096fe Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Sat, 19 Sep 2026 12:08:18 +0200 Subject: [PATCH] ci: add lint/test/validate workflow; fix stale fedora-cloud-42 label -> fedora --- .gitea/workflows/build-iso.yaml | 2 +- .gitea/workflows/ci.yml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/build-iso.yaml b/.gitea/workflows/build-iso.yaml index 623d089..f8e5f40 100644 --- a/.gitea/workflows/build-iso.yaml +++ b/.gitea/workflows/build-iso.yaml @@ -28,7 +28,7 @@ jobs: build-iso: needs: validate - runs-on: fedora-cloud-42 + runs-on: fedora container: image: git.phyllo.me/devops/fedora-runner-image:latest diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..bcd1461 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,25 @@ +name: ci + +on: + push: + pull_request: + +jobs: + # Bump when the recipe language changes; both jobs share the runner. + cook: + runs-on: fedora + defaults: + run: + shell: bash + container: + image: git.phyllo.me/devops/fedora-runner-image:latest + steps: + - uses: https://git.phyllo.me/devops/checkout@v5 + with: + fetch-depth: 0 + - name: Lint manifest + templates + run: make -C cook lint + - name: Generate recipes + dishes, validate every dish + run: make -C cook all + - name: Run the pytest suite + run: make -C cook test \ No newline at end of file