Skip to content

Commit

Permalink
change build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Werner authored and Dennis Werner committed Jun 27, 2024
1 parent e66aeae commit 0a6130a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
go-version: stable
- name: Install templ
run: go install github.com/a-h/templ/cmd/templ@latest
- name: Install templ runtime
run: go get github.com/a-h/templ/runtime
- name: Build templ
run: templ generate .
- name: golang-lint
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN go mod download
# download and install templ
RUN go install github.com/a-h/templ/cmd/templ@latest

RUN go get github.com/a-h/templ/runtime

# compile templates
RUN templ generate

Expand Down

0 comments on commit 0a6130a

Please sign in to comment.