Skip to content

fix: linting errors #11

fix: linting errors

fix: linting errors #11

Workflow file for this run

name: Go-lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install templ
shell: bash
run: go install github.com/a-h/templ/cmd/templ@latest
- name: Run templ generate
shell: bash
run: templ generate -path .
- run: go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60