We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055074a commit a7c8c1eCopy full SHA for a7c8c1e
.github/workflows/lint.yml
@@ -14,26 +14,6 @@ permissions:
14
contents: read
15
16
jobs:
17
- format:
18
- runs-on: ubuntu-latest
19
- steps:
20
- - name: Clone repository
21
- uses: actions/checkout@v4
22
-
23
- - name: Set up Go
24
- uses: actions/setup-go@v5
25
- with:
26
- go-version: stable
27
28
- - name: Set up gofumpt
29
- run: go install mvdan.cc/gofumpt@latest
30
31
- - name: Run gofumpt
32
- run: |
33
- non_formatted_files="$(gofumpt -l .)"
34
- echo "$non_formatted_files"
35
- test -z "$non_formatted_files"
36
37
golangci-lint:
38
runs-on: ubuntu-latest
39
.golangci.yaml
@@ -1,4 +1,9 @@
1
version: "2"
2
+
3
+formatters:
4
+ enable:
5
+ - gofumpt
6
7
linters:
8
enable:
9
- makezero
0 commit comments