Skip to content

feat: safe funcs, follow go template standards and sprout conventions #292

feat: safe funcs, follow go template standards and sprout conventions

feat: safe funcs, follow go template standards and sprout conventions #292

Triggered via pull request August 28, 2024 23:18
Status Failure
Total duration 40s
Artifacts

test.yaml

on: pull_request
Backward compatibility with Sprig v3 (template output)
25s
Backward compatibility with Sprig v3 (template output)
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 6 warnings
test (1.22.x, macos-latest): registry/semver/functions_test.go#L39
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/semver/functions_test.go#L43
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
Backward compatibility with Sprig v3 (template output)
Process completed with exit code 201.
test (1.22.x, macos-latest): registry/slices/functions_test.go#L253
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L254
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L255
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L256
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L257
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L265
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L266
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest): registry/slices/functions_test.go#L267
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest)
The job was canceled because "_1_22_x_macos-latest" failed.
test (1.21.x, macos-latest): registry/semver/functions_test.go#L39
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/semver/functions_test.go#L43
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L253
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L254
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L255
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L256
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L257
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L265
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L266
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, macos-latest): registry/slices/functions_test.go#L267
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest)
The job was canceled because "_1_22_x_macos-latest" failed.
test (1.21.x, ubuntu-latest): registry/semver/functions_test.go#L39
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/semver/functions_test.go#L43
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/time/functions_test.go#L166
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/time/functions_test.go#L175
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L253
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L254
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L255
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L256
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L257
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.21.x, ubuntu-latest): registry/slices/functions_test.go#L265
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, windows-latest)
The job was canceled because "_1_22_x_macos-latest" failed.
test (1.22.x, windows-latest)
The operation was canceled.
test (1.21.x, windows-latest)
The job was canceled because "_1_22_x_macos-latest" failed.
test (1.21.x, windows-latest)
The operation was canceled.
test (1.22.x, ubuntu-latest)
The job was canceled because "_1_22_x_macos-latest" failed.
test (1.22.x, ubuntu-latest): registry/semver/functions_test.go#L39
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/semver/functions_test.go#L43
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L253
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L254
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L255
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L256
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L257
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L265
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L266
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, ubuntu-latest): registry/slices/functions_test.go#L267
unknown field TestCase in struct literal of type struct{Name string; Input string; Data map[string]any; ExpectedOutput string; ExpectedErr string}
test (1.22.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/sprout/sprout. Supported file pattern: go.sum
test (1.21.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/sprout/sprout. Supported file pattern: go.sum
test (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/sprout/sprout. Supported file pattern: go.sum
test (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\sprout\sprout. Supported file pattern: go.sum
test (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\sprout\sprout. Supported file pattern: go.sum
test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/sprout/sprout. Supported file pattern: go.sum