Debian Codegraph @

.github/workflows/lint.yml

raw
1 name: Lint
2
3 on:
4 push:
5 paths-ignore:
6 - docs/**
7
8 jobs:
9 lint:
10 strategy:
11 matrix:
12 go-version: [1.24.x]
13 platform: [ubuntu-latest]
14
15 runs-on: ${{ matrix.platform }}
16
17 steps:
18 - name: Set up Go 1.x
19 uses: actions/setup-go@v6
20 with:
21 go-version: ${{ matrix.go-version }}
22 id: go
23
24 - name: Check out code into the Go module directory
25 uses: actions/checkout@v6
26
27 - name: lint
28 uses: golangci/golangci-lint-action@v9
29 with:
30 version: v2.1.6
31 args: --timeout=4m -v