From cb5458c9fc9a6cfcfddca48c5e559e9d4e5b06d2 Mon Sep 17 00:00:00 2001 From: Ryan Hamamura <58859899+ryanhamamura@users.noreply.github.com> Date: Mon, 2 Mar 2026 18:39:33 -1000 Subject: [PATCH] ci: generate templ files before test and lint steps --- .gitea/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index f8a7271..28baa5a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,6 +18,9 @@ jobs: with: go-version: "1.25" + - name: Generate templ + run: go tool templ generate + - name: Run tests run: go test ./... @@ -30,6 +33,9 @@ jobs: with: go-version: "1.25" + - name: Generate templ + run: go tool templ generate + - name: Install golangci-lint run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest