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 5225d45 commit cdea0d2Copy full SHA for cdea0d2
.github/workflows/format.yaml
@@ -1,14 +1,15 @@
1
# .github/workflows/gofmt.yml
2
-name: Gofmt Check
+# .github/workflows/lint.yml
3
+name: Lint Check
4
5
on:
6
push:
7
branches:
8
- '**'
9
10
jobs:
- gofmt:
11
- name: Run gofmt
+ lint:
12
+ name: Run make lint
13
runs-on: ubuntu-latest
14
15
steps:
@@ -20,12 +21,5 @@ jobs:
20
21
with:
22
go-version: '1.24.2'
23
- - name: Check formatting with gofmt
24
- run: |
25
- unformatted=$(gofmt -l .)
26
- if [ -n "$unformatted" ]; then
27
- echo "The following files are not properly formatted:"
28
- echo "$unformatted"
29
- echo "Run 'gofmt -w .' to fix them."
30
- exit 1
31
- fi
+ - name: Run lint
+ run: make lint
0 commit comments