go-web-template/.gitea/workflows/lint.yml

21 lines
373 B
YAML
Raw Permalink Normal View History

2024-08-25 16:50:24 +02:00
name: Lint
2024-08-25 16:40:48 +02:00
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'