Merge pull request #421 from VictorAvelar/dependabot/docker/master/go… #748
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: Linting with golangci-lint | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
- "*.yml" | |
- "Makefile" | |
- "docs/*.md" | |
- ".gitignore" | |
- "LICENSE" | |
- ".github/*.yml" | |
- ".github/ISSUE_TEMPLATE/*.md" | |
- ".github/*.md" | |
- ".github/workflows/main.yml" | |
- ".github/workflows/release.yml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "*.yml" | |
- "Makefile" | |
- "docs/*.md" | |
- ".gitignore" | |
- "LICENSE" | |
- ".github/*.yml" | |
- ".github/ISSUE_TEMPLATE/*.md" | |
- ".github/*.md" | |
- ".github/workflows/main.yml" | |
- ".github/workflows/release.yml" | |
jobs: | |
golangci: | |
name: linter | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version: 1.23.X | |
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 | |
with: | |
version: latest | |
install-mode: binary |