【发布时间】:2021-11-02 01:07:16
【问题描述】:
每次我们在our repository 上打开或更新拉取请求时,我们都会使用运行在 Github Actions 工作流程中的 linter(用于 Golang)。
最近开始返回以下error:
File is not `gofmt`-ed with `-s` (gofmt)
在this other PR 中发生的事情之后到文件pkg/api/api/go。
(编辑:添加链接以评估并最终重现错误)
证据:
我想了解这个错误的根源是什么,以及如何解决它?
【问题讨论】:
标签: go github-actions linter gofmt