From 888437bba68f96fe084b849a78da191786691f1e Mon Sep 17 00:00:00 2001 From: Randell Date: Mon, 20 Nov 2023 14:33:37 -0700 Subject: [PATCH] Generate templ files --- .github/workflows/cicd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a832c56..0b22610 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -25,6 +25,8 @@ jobs: with: go-version: 1.21.x - run: go mod download + - run: go install github.com/a-h/templ/cmd/templ@latest + - run: templ generate -path ./components - name: Test run: go test -race ./... tag: @@ -55,6 +57,12 @@ jobs: - tag steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version: 1.21.x + - run: go mod download + - run: go install github.com/a-h/templ/cmd/templ@latest + - run: templ generate -path ./components - name: Get Version run: echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV - name: Replace token secret