From 8e26463bb6ab44e7d74e3d82629ecad43da39e8d Mon Sep 17 00:00:00 2001 From: Phoebe Lartisant Date: Tue, 23 Jul 2024 17:43:58 +0200 Subject: [PATCH] add gofumpt -l -w . to lint CI --- .github/workflows/lint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2993b41..5bbd15c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,6 +23,7 @@ jobs: run: go install mvdan.cc/gofumpt@latest - name: run gofumpt run: | + gofumpt -l -w . ERRORS=$(gofumpt -l . | wc -l) if [[ "$ERRORS" != "0" ]]; then echo "following files are not gofumpted:"