Skip to content

Commit ea41a33

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

+19
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,25 @@ on:
2121
pull_request:
2222

2323
jobs:
24+
lint:
25+
runs-on: ubuntu-24.04
26+
timeout-minutes: 5
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-go@v5
31+
with:
32+
go-version: "oldstable"
33+
cache: false
34+
- name: Create go.mod
35+
run: |
36+
ln -s vendor.mod go.mod
37+
ln -s vendor.sum go.sum
38+
- uses: golangci/golangci-lint-action@v6
39+
with:
40+
version: v1.60.1
41+
skip-cache: true
42+
2443
test:
2544
runs-on: ubuntu-24.04
2645
timeout-minutes: 5

0 commit comments

Comments
 (0)