Merge pull request #106 from arran4/issue97 #218
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: | |
- master | |
- main | |
pull_request: | |
jobs: | |
golangci: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # allow read access to the content for analysis. | |
checks: write # allow write access to checks to allow the action to annotate code in the PR. | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest |