fix: added templ generate to git actions
This commit is contained in:
@@ -46,6 +46,8 @@ jobs:
|
|||||||
key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
||||||
restore-keys: |-
|
restore-keys: |-
|
||||||
arbeitszeitmessung-
|
arbeitszeitmessung-
|
||||||
|
- name: Render Templ files
|
||||||
|
run: cd Backend && go install github.com/a-h/templ/cmd/templ@v0.3.977 && templ generate
|
||||||
- name: Run Go Tests
|
- name: Run Go Tests
|
||||||
run: cd Backend && mkdir .test && go test ./... -coverprofile=.test/coverage.out -json > .test/report.json
|
run: cd Backend && mkdir .test && go test ./... -coverprofile=.test/coverage.out -json > .test/report.json
|
||||||
- name: Verify coverage report exists
|
- name: Verify coverage report exists
|
||||||
|
|||||||
Reference in New Issue
Block a user