diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 68502f36..c0592963 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -30,7 +30,8 @@ "golang.go", "vue.volar", "ms-azuretools.vscode-docker", - "akino.i18n-gettext" + "akino.i18n-gettext", + "github.vscode-github-actions" ] } }, diff --git a/internal/self_check/self_check.go b/internal/self_check/self_check.go index f59fbec0..e5efdc8c 100644 --- a/internal/self_check/self_check.go +++ b/internal/self_check/self_check.go @@ -16,6 +16,7 @@ func Run() (reports Reports) { status = ReportStatusError } reports = append(reports, &Report{ + Key: task.Key, Name: task.Name, Description: task.Description, Fixable: task.FixFunc != nil, diff --git a/internal/self_check/tasks.go b/internal/self_check/tasks.go index 1df35e14..92ac7559 100644 --- a/internal/self_check/tasks.go +++ b/internal/self_check/tasks.go @@ -24,6 +24,7 @@ const ( ) type Report struct { + Key string `json:"key"` Name *translation.Container `json:"name"` Description *translation.Container `json:"description,omitempty"` Fixable bool `json:"fixable"`