xkcd/.github/workflows/lint.yml
2023-06-01 21:24:08 +02:00

22 lines
392 B
YAML

name: Lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
version: v1.52
skip-go-installation: true