Debian Codegraph @

.github/workflows/golangci-lint.yaml

raw
1 name: golangci-lint
2 on:
3 push:
4 branches:
5 - master
6 - release-0.31
7 - release-0.32
8 pull_request:
9
10 permissions:
11 contents: read
12
13 env:
14 GO_VERSION: v1.23.6
15 GOLANGCI_LINT_VERSION: v2.1.6
16
17 jobs:
18 golangci:
19 name: lint
20 runs-on: ubuntu-22.04
21 steps:
22 - uses: actions/checkout@v4
23 - uses: actions/setup-go@v5
24 with:
25 go-version: ${{ env.GO_VERSION }}
26 - name: golangci-lint
27 uses: golangci/golangci-lint-action@v8
28 with:
29 version: ${{ env.GOLANGCI_LINT_VERSION }}
30 args: --verbose