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 d7358e2 commit 62db2d9Copy full SHA for 62db2d9
.github/workflows/lint.yml
@@ -14,6 +14,26 @@ permissions:
14
contents: read
15
16
jobs:
17
+ format:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
+ with:
23
+ go-version: "1.20"
24
+
25
+ - name: Clone repository
26
+ uses: actions/checkout@v4
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
staticcheck:
38
runs-on: ubuntu-latest
39
steps:
0 commit comments