Replace html/template with a-h/templ #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Risk.Ident GmbH <[email protected]> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
name: templ | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
templ: | |
runs-on: ubuntu-latest | |
name: Run templ generate | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run templ generate | |
run: make generate | |
- name: Fail on git diff | |
run: git diff --exit-code |