ci: generate templ files before test and lint steps
All checks were successful
CI / Deploy / test (pull_request) Successful in 16s
CI / Deploy / lint (pull_request) Successful in 25s
CI / Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
Ryan Hamamura
2026-03-02 18:39:33 -10:00
parent bc6488f063
commit cb5458c9fc

View File

@@ -18,6 +18,9 @@ jobs:
with: with:
go-version: "1.25" go-version: "1.25"
- name: Generate templ
run: go tool templ generate
- name: Run tests - name: Run tests
run: go test ./... run: go test ./...
@@ -30,6 +33,9 @@ jobs:
with: with:
go-version: "1.25" go-version: "1.25"
- name: Generate templ
run: go tool templ generate
- name: Install golangci-lint - name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest