xkcd/.github/workflows/lint.yml
2023-11-27 16:20:27 +00:00

22 lines
396 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.21.x"
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
version: "v1.55"
skip-go-installation: true