run golangci-lint in CI

This commit is contained in:
Krystian Chmura committed 2024-05-11 14:41:25 +02:00
1 parent 36f353b8a6
commit 03865f9b94
8 files changed
+66 -49

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- name: Install dependencies
run: go mod download
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=10m
version: latest
- name: Test
run: go test -v
- name: Build