Skip to content

Add a clear button

Add a clear button #25

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/templ@v0.2.648
- run: templ generate -path ./components
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
skip-pkg-cache: true
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/templ@v0.2.648
- run: templ generate -path ./components
- name: Test
run: go test -race ./...