Copilot commented on code in PR #380:
URL: https://github.com/apache/dubbo-go-hessian2/pull/380#discussion_r2249502153
##########
.github/workflows/github-actions.yml:
##########
@@ -71,7 +71,8 @@ jobs:
- name: format
run: |
- gofmt -l -w . && [[ -z `git status -s` ]]
+ go install github.com/dubbogo/tools/cmd/imports-formatter@latest
+ go fmt ./... && GOROOT=$(go env GOROOT) imports-formatter && git
status && [[ -z `git status -s` ]]
Review Comment:
The command line is complex and combines multiple operations. Consider
breaking this into separate steps for better readability and easier debugging
when the CI fails.
```suggestion
go fmt ./...
GOROOT=$(go env GOROOT) imports-formatter
git status
[[ -z `git status -s` ]]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]