File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 5151 golangci-lint :
5252 runs-on : ubuntu-latest
5353 steps :
54- - uses : actions/checkout@v4
54+ - name : Checkout
55+ uses : actions/checkout@v4
5556 with :
5657 persist-credentials : false
5758
@@ -62,27 +63,42 @@ jobs:
6263 - name : Run golangci-lint
6364 uses : golangci/golangci-lint-action@v3
6465 with :
65- version : v1.47
66+ version : v1.54
6667 go-fmt :
6768 runs-on : ubuntu-latest
6869 steps :
69- - uses : actions/checkout@v4
70+ - name : Checkout
71+ uses : actions/checkout@v4
7072 with :
7173 persist-credentials : false
7274
7375 - run : make lint-with-go-fmt
76+ prettier :
77+ runs-on : ubuntu-latest
78+ steps :
79+ - name : Checkout
80+ uses : actions/checkout@v4
81+ with :
82+ persist-credentials : false
83+
84+ - uses : actions/setup-node@v3
85+
86+ - run : npx prettier --prose-wrap always --check .
87+
7488 goreleaser :
7589 runs-on : ubuntu-latest
7690 needs :
7791 - test-ubuntu
7892 - test-macos
7993 - test-windows
94+ - prettier
8095 - golangci-lint
8196 - go-fmt
8297 permissions :
8398 contents : write # to create a GitHub release (goreleaser/goreleaser-action)
8499 steps :
85- - uses : actions/checkout@v4
100+ - name : Checkout
101+ uses : actions/checkout@v4
86102 - run : git fetch --prune --unshallow
87103 - uses : actions/setup-go@v4
88104 with :
You can’t perform that action at this time.
0 commit comments