We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abbd15 commit 43fb3adCopy full SHA for 43fb3ad
.github/workflows/go.yml
@@ -8,6 +8,30 @@ on:
8
workflow_dispatch:
9
10
jobs:
11
+ lint:
12
+ name: Lint
13
+ runs-on: self-hosted
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ # Cache build tools to avoid downloading them each time
18
+ - uses: actions/cache@v4
19
+ with:
20
+ path: build/cache
21
+ key: ${{ runner.os }}-build-tools-cache-${{ hashFiles('build/checksums.txt') }}
22
23
+ - name: Set up Go
24
+ uses: actions/setup-go@v5
25
26
+ go-version: 1.23.0
27
+ cache: false
28
29
+ - name: Run linters
30
+ run: |
31
+ go run build/ci.go lint
32
+ go run build/ci.go check_tidy
33
+ go run build/ci.go check_baddeps
34
35
build:
36
runs-on: self-hosted
37
steps:
0 commit comments