Skip to content

Test

Test #2

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Test
on:
workflow_run:
workflows: ["Lint"]
types:
- completed
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Install templ
run: go install github.com/a-h/templ/cmd/templ@latest
- name: Build templ
run: templ generate .
- name: Test
run: go test -v ./...