1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/lint.yml
CrazyMax a662cb0830
fix(ci): pin actions to major (#2217)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-12 15:23:13 -03:00

23 lines
418 B
YAML

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: ~1.16
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
skip-go-installation: true