Skip to content

many boilerplate code #1

many boilerplate code

many boilerplate code #1

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:
push:
pull_request:
branches: ["main"]
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 ./...