Skip to content

Merge pull request #359 from VictorAvelar/dependabot/github_actions/m… #639

Merge pull request #359 from VictorAvelar/dependabot/github_actions/m…

Merge pull request #359 from VictorAvelar/dependabot/github_actions/m… #639

Workflow file for this run

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b
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