Debian Codegraph @

.github/workflows/golangci-lint.yml

raw
1 name: golangci-lint
2 on:
3 push:
4 tags:
5 - v*
6 branches:
7 - master
8 - main
9 pull_request:
10 jobs:
11 golangci:
12 name: lint
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v7
16
17 - name: Set up Go
18 uses: actions/setup-go@v7
19 with:
20 go-version-file: go.mod
21
22 - name: golangci-lint
23 uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a #v9.3.0
24 env:
25 GOTOOLCHAIN: local
26 with:
27 version: v2.11