Skip to content

Google proto timestamps support #1374

Google proto timestamps support

Google proto timestamps support #1374

Triggered via pull request November 27, 2024 16:37
Status Failure
Total duration 37s
Artifacts

code-style.yaml

on: pull_request
Matrix: Auto-format and Check
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Auto-format and Check (gofmt): pkg/json/json.go#L1
Please run gofmt -s. diff --git a/pkg/json/json.go b/pkg/json/json.go index 30d5959..8b7791c 100644 --- a/pkg/json/json.go +++ b/pkg/json/json.go @@ -66,7 +66,7 @@ func (v *JSONValue) Type() JSONValueType { } func (v *JSONValue) resolveForSafe(jsonData string) interface{} { - switch v.Type() { + switch v.Type() { case JSONValueTypeTemplate: return ReplaceJSONPlaceholders(v.Pattern, jsonData) case JSONValueTypePattern:
Auto-format and Check (gofmt)
Process completed with exit code 1.
Auto-format and Check (goimports): pkg/json/json.go#L1
Please run goimports . diff --git a/pkg/json/json.go b/pkg/json/json.go index 30d5959..8b7791c 100644 --- a/pkg/json/json.go +++ b/pkg/json/json.go @@ -66,7 +66,7 @@ func (v *JSONValue) Type() JSONValueType { } func (v *JSONValue) resolveForSafe(jsonData string) interface{} { - switch v.Type() { + switch v.Type() { case JSONValueTypeTemplate: return ReplaceJSONPlaceholders(v.Pattern, jsonData) case JSONValueTypePattern:
Auto-format and Check (goimports)
Process completed with exit code 1.
Auto-format and Check (gofmt)
Restore cache failed: Dependencies file is not found in /home/runner/work/authorino/authorino. Supported file pattern: go.sum
Auto-format and Check (goimports)
Restore cache failed: Dependencies file is not found in /home/runner/work/authorino/authorino. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/authorino/authorino. Supported file pattern: go.sum
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/