feat: fix multiple typos in dockerfile #128
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
name: Templ Generation | |
on: [pull_request] | |
jobs: | |
build: | |
name: Templ Generator | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Install Templ | |
run: go install github.com/a-h/templ/cmd/templ@v0.2.598 | |
- name: Templ Generator | |
run: templ generate | |
- name: Check for changes | |
run: | | |
if [ "$(git status --porcelain | wc -l)" -gt 0 ]; then | |
echo "Error: Templ files need to be updated. Run 'templ generate .' using v0.2.598." | |
exit 1 | |
fi |