Skip to content

Merge pull request #194 from damongolding/feature/more-into-overlay #1091

Merge pull request #194 from damongolding/feature/more-into-overlay

Merge pull request #194 from damongolding/feature/more-into-overlay #1091

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.5" # Specify the Go version you want to use
- name: Get dependencies
run: go mod download
- name: Install templ and generate
run: |
go install github.com/a-h/templ/cmd/templ@latest
templ generate
- name: Run tests
env:
CI: true
run: |
mkdir -p test-results
go test -v ./... > test-results/test.log
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: go-test-results
path: test-results/test.log