go-web-template/.gitea/workflows/lint.yml
Valentin Brandl d0f6d23ce7
Some checks failed
Lint / lint (push) Waiting to run
Build / build (push) Has been cancelled
Build and test pipeline
2024-08-25 16:50:24 +02:00

21 lines
373 B
YAML

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: 'latest'