Skip to content

Commit aa2fea3

Browse files
committed
update justfile
1 parent 6a97fb2 commit aa2fea3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

justfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,16 @@ update-go-deps:
156156
go get -u all
157157
go mod tidy
158158

159+
# run 'go fix'
160+
[group('hygiene')]
161+
fix:
162+
just _banner ">> running modernize"
163+
go fix -rangeint=false ./...
164+
159165
# update dependencies
160166
[group('hygiene')]
161167
update-deps: update-go-deps
162168

163-
164169
# run coverage analysis
165170
[group('tests')]
166171
cover:

0 commit comments

Comments
 (0)