Debian Codegraph @

.github/workflows/validate.yml

raw symbols SCIP
1 name: validate
2 on:
3 push:
4 tags:
5 - v*
6 branches:
7 - main
8 - release-*
9 pull_request:
10
11 env:
12 LINT_VERSION: v2.6.1
13
14 jobs:
15 lint:
16 runs-on: ubuntu-24.04
17 steps:
18 - uses: actions/checkout@v5
19 with:
20 fetch-depth: 2
21 - uses: actions/setup-go@v6
22 - name: lint
23 uses: golangci/golangci-lint-action@v8
24 with:
25 version: "${{ env.LINT_VERSION }}"
26 args: --verbose
27
28 codespell:
29 runs-on: ubuntu-24.04
30 steps:
31 - uses: actions/checkout@v5
32 - name: install deps
33 # Version of codespell bundled with Ubuntu is way old, so use pip.
34 run: pip install --break-system-packages codespell
35 - name: run codespell
36 run: codespell --dictionary=-