Skip to content

Adapt .golangci.yml to latest version and fix linter issues #1015

Adapt .golangci.yml to latest version and fix linter issues

Adapt .golangci.yml to latest version and fix linter issues #1015

Workflow file for this run

name: GolangCIlint
on:
pull_request:
jobs:
golangci-lint:
name: GolangCI-Lint
runs-on: self-hosted
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version_file: go.mod
version: v1.53.3
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--timeout=10m"
reporter: github-pr-check
filter_mode: nofilter
fail_on_error: true