Skip to content

Commit 4b1831c

Browse files
severindellspergerhenderiw
authored andcommitted
add golang linter action (#356)
1 parent 1a49271 commit 4b1831c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Go Checks
2+
3+
on:
4+
pull_request: {}
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
golangci:
11+
name: lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v5
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.24'
18+
cache: false
19+
- name: golangci-lint
20+
uses: golangci/golangci-lint-action@v8
21+
with:
22+
version: v2.4

0 commit comments

Comments
 (0)