Debian Codegraph @

.github/workflows/static-analysis.yml

raw
1 name: Static Analysis
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8
9 permissions:
10 contents: read
11
12 jobs:
13 build:
14 strategy:
15 matrix:
16 go-version:
17 - 1.26.x
18 - 1.27.x
19 runs-on: ubuntu-latest
20
21 steps:
22 - name: Set up Go
23 uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
24 with:
25 go-version: ${{ matrix.go-version }}
26 id: go
27
28 - name: Check out code into the Go module directory
29 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
31 - name: Lint
32 uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
33 with:
34 args: --verbose
35 version: v2.13.2