Skip to content

Commit be79559

Browse files
committed
Add linter to CI
1 parent 5af068d commit be79559

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
pull_request:
66

77
jobs:
8-
98
build:
109
runs-on: ubuntu-latest
1110
steps:
@@ -16,5 +15,10 @@ jobs:
1615
with:
1716
go-version: '1.20'
1817

18+
- name: lint
19+
uses: golangci/golangci-lint-action@v3
20+
with:
21+
skip-cache: true # caching done by setup-go
22+
1923
- name: Test
2024
run: go test -v ./...

0 commit comments

Comments
 (0)