ci: generate templ files before test and lint steps
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user