From 3d1adb8d54dcca481389765f6572f26daa468699 Mon Sep 17 00:00:00 2001 From: shahrul Date: Sun, 31 Dec 2023 23:41:28 +0800 Subject: [PATCH] fix --- .github/workflows/go.yml | 6 ++---- go.mod | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) 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