Skip to content

Commit ba04697

Browse files
committed
chore: Add golangci-lint
1 parent 142f16d commit ba04697

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/lint.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
name: lint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-go@v3
14+
with:
15+
go-version-file: 'go.mod'
16+
cache: true
17+
- uses: golangci/golangci-lint-action@v3
18+
with:
19+
version: latest

0 commit comments

Comments
 (0)