Merge pull request #357 from VictorAvelar/dependabot/docker/master/go… #632
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@9bb56186c3b09b4f86b1c65136769dd318469633 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 | |
with: | |
go-version: 1.22.X | |
- uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 | |
with: | |
version: latest | |
install-mode: binary |