Skip to content

Fixing linting

Fixing linting #29

name: go-template-lint
on: [push, pull_request]
permissions:
contents: read
pull-requests: read
jobs:
go-template-lint:
name: go-template-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: WillAbides/setup-go-faster@v1
with:
go-version: '1.22'
- name: download go-template-lint
run: go install sourcegraph.com/sourcegraph/go-template-lint@latest
- name: run go-template-lint
run: go-template-lint -f=templates/template.go -td=templates -t=templates/template.go