Skip to content

Commit

Permalink
ci: add templ to steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcgrath13 committed Oct 10, 2024
1 parent 217ce64 commit 4ef3c4e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
with:
go-version: '1.23.1'

# - name: Install dependencies
# run: go get .

- name: Check `go fmt`
run: test -z $(gofmt -l ./...)

- name: Install templ
run: go install github.com/a-h/templ/cmd/templ@latest

- name: generate templ files
run: templ generate

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down

0 comments on commit 4ef3c4e

Please sign in to comment.