Skip to content

Update go version to 1.18 #30

Update go version to 1.18

Update go version to 1.18 #30

Triggered via pull request July 22, 2023 17:39
Status Failure
Total duration 11m 3s
Artifacts

ci.yaml

on: pull_request
Matrix: build
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 24 warnings
lint (ubuntu-latest): post/defaulter.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/prune.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/defaulter_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/defaulter_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/defaulter_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/defaulter_test.go#L28
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/prune_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/prune_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/prune_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (ubuntu-latest): post/defaulter_test.go#L62
VendorExtensible, SwaggerSchemaProps, ExtraProps are missing in Schema (exhaustruct)
lint (macos-latest): post/defaulter.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/prune.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/defaulter_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/defaulter_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/defaulter_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/defaulter_test.go#L28
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/prune_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/prune_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/prune_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (macos-latest): post/defaulter_test.go#L62
VendorExtensible, SwaggerSchemaProps, ExtraProps are missing in Schema (exhaustruct)
lint (windows-latest): post\defaulter.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\prune.go#L18
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\defaulter_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\defaulter_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\defaulter_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\defaulter_test.go#L28
import 'github.com/go-openapi/validate' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\prune_test.go#L24
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\prune_test.go#L26
import 'github.com/go-openapi/spec' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\prune_test.go#L27
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
lint (windows-latest): post\defaulter_test.go#L62
VendorExtensible, SwaggerSchemaProps, ExtraProps are missing in Schema (exhaustruct)
lint (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (ubuntu-latest)
The `save-state` 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/
lint (ubuntu-latest)
The `save-state` 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/
lint (ubuntu-latest): schema.go#L104
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (ubuntu-latest): validator.go#L151
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (ubuntu-latest): options_test.go#L9
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (macos-latest)
The `save-state` 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/
lint (macos-latest)
The `save-state` 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/
lint (macos-latest): options_test.go#L9
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint (macos-latest): schema.go#L104
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (macos-latest): validator.go#L151
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (windows-latest)
The `save-state` 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/
lint (windows-latest)
The `save-state` 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/
lint (windows-latest): schema.go#L104
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (windows-latest): validator.go#L151
unused-parameter: parameter 'kind' seems to be unused, consider removing or renaming it as _ (revive)
lint (windows-latest): options_test.go#L9
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, autero1/action-gotestsum@v1.0.0, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest)
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/
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, autero1/action-gotestsum@v1.0.0, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest)
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/
build (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, autero1/action-gotestsum@v1.0.0, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (macos-latest)
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/