Skip to content

Commit f88a696

Browse files
committed
Add golangci-lint to CI
Signed-off-by: Austin Vazquez <[email protected]>
1 parent 864be7b commit f88a696

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

+17
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,24 @@ on:
2020
- 'master'
2121
pull_request:
2222

23+
env:
24+
GO_VERSION: "1.22.8"
25+
2326
jobs:
27+
lint:
28+
runs-on: ubuntu-24.04
29+
timeout-minutes: 5
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-go@v5
34+
with:
35+
go-version: ${{ env.GO_VERSION }}
36+
- uses: golangci/golangci-lint-action@v6
37+
with:
38+
version: v1.60.1
39+
skip-cache: true
40+
2441
test:
2542
runs-on: ubuntu-24.04
2643
timeout-minutes: 5

0 commit comments

Comments
 (0)