Skip to content

Update go version and github actions to 1.21 #489

Update go version and github actions to 1.21

Update go version and github actions to 1.21 #489

Triggered via pull request January 29, 2024 08:04
Status Failure
Total duration 2m 40s
Artifacts

build-test-lint.yml

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

Annotations

10 errors and 10 warnings
Golangci-lint: pkg/utils/utils.go#L507
string `...` has 2 occurrences, make it a constant (goconst)
Golangci-lint: pkg/resources/server.go#L80
string `unix:` has 3 occurrences, make it a constant (goconst)
Golangci-lint: pkg/types/types.go#L20
import 'github.com/jaypipes/ghw' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/types/types.go#L21
import 'github.com/k8snetworkplumbingwg/govdpa/pkg/kvdpa' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/types/types.go#L22
import 'github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/types/types.go#L23
import 'k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/cdi/cdi.go#L24
import 'github.com/container-orchestrated-devices/container-device-interface/pkg/cdi' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/cdi/cdi.go#L25
import 'github.com/container-orchestrated-devices/container-device-interface/specs-go' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/cdi/cdi.go#L26
import 'github.com/golang/glog' is not allowed from list 'Main' (depguard)
Golangci-lint: pkg/cdi/cdi.go#L28
import 'github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types' is not allowed from list 'Main' (depguard)
Shellcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Shellcheck
Input 'ignore' has been deprecated with message: Use ignore_paths or ignore_names instead.
go-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Hadolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (1.21.x, amd64, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, coverallsapp/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: coverallsapp/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-coverage
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/
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.