diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fdd64de..7c22f3e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,12 +21,10 @@ jobs: go-version: '1.16' - name: Install templ - run: | - go get -u github.com/a-h/templ/cmd/templ - go install github.com/a-h/templ/cmd/templ@latest + run: go install github.com/a-h/templ/cmd/templ@latest - name: Generate code run: templ generate - name: Build - run: go build -v ./... + run: go build . diff --git a/go.mod b/go.mod index 7a5d44c..6d51836 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module todomvc/go-templ-htmx-_hyperscript -go 1.23 +go 1.21.5 require ( github.com/a-h/templ v0.2.501