chore(deps): bump actions/setup-go from 4 to 5 #18
Workflow file for this run
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 | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
go: [ '1.18', '1.19', '1.20', '1.21' ] | |
os: [ ubuntu-latest, windows-latest ] | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable # get the latest stable version from the go-versions repository manifest. | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout=10m |