Enable gofumpt linter; format code gofumpt -w . (#1576)

This commit is contained in:
Oleksandr Redko
2023-06-13 16:18:59 +03:00
committed by GitHub
parent b79233fac2
commit ffdf59d04c
20 changed files with 35 additions and 49 deletions
+1 -2
View File
@@ -13,9 +13,8 @@ jobs:
with:
go-version: 1.20.x
- run: go version
- run: diff -u <(echo -n) <(gofmt -d .)
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.1
args: --enable=nolintlint,gochecknoinits,bodyclose --verbose
args: --enable=nolintlint,gochecknoinits,bodyclose,gofumpt --verbose