Merge pull request #848 from google/dependabot/github_actions/golangc… #1124
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
name: golangci-lint | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
# golangci-lint does annotations, not comments | |
# No-one knows what an annotation is, but I suspect it's printing file:line: msg to stdout. | |
# https://git.luolix.topmunity/t/what-are-annotations/16173/2 | |
checks: none | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: golangci/golangci-lint-action@v5 | |
with: | |
# Required: the version of golangci-lint is required and must be | |
# specified without patch version: we always use the latest patch | |
# version. | |
version: v1.57 |