aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-06-13 16:18:59 +0300
committerGravatar GitHub <noreply@github.com> 2023-06-13 15:18:59 +0200
commitffdf59d04ca2f02556308d60d37b8e77ea04484c (patch)
treecad591ac557fce7673b2c7d52a6863c7694b4e37 /.github
parentadd DisableSpecialHeaders option (#1573) (diff)
downloadfasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.gz
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.bz2
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.zip
Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 91e742c..c73bf09 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -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