Merge pull request #406 from wesen/bug/fix-initialize-struct #603
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is copied over from goreleaser/goreleaser/.github/workflows/lint.yml | |
name: golangci-lint | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
permissions: | |
contents: read | |
pull-requests: read | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.19.5' | |
cache: true | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3.1.0 | |
with: | |
args: --timeout=5m |