Skip to content

Use goreleaser everywhere #176

Use goreleaser everywhere

Use goreleaser everywhere #176

Triggered via pull request December 17, 2024 08:36
Status Failure
Total duration 1m 44s
Artifacts

build.yml

on: pull_request
Matrix: Create Build
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 2 warnings
Create Build (operator): cmd/api/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (operator): cmd/authorization-webhook/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (operator): cmd/operator/main.go#L48
should use for range instead of for { select {} } (S1000)
Create Build (operator): internal/authprovider/ldap.go#L22
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L46
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L92
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L200
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L227
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L249
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator): internal/authprovider/ldap.go#L271
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): cmd/api/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (api): cmd/authorization-webhook/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (api): cmd/operator/main.go#L48
should use for range instead of for { select {} } (S1000)
Create Build (api): internal/authprovider/ldap.go#L22
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L46
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L92
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L200
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L227
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L249
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (api): internal/authprovider/ldap.go#L271
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook)
The job was canceled because "operator" failed.
Create Build (webhook): cmd/api/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (webhook): cmd/authorization-webhook/main.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Create Build (webhook): cmd/operator/main.go#L48
should use for range instead of for { select {} } (S1000)
Create Build (webhook): internal/authprovider/ldap.go#L22
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L46
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L92
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L200
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L227
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L249
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (webhook): internal/authprovider/ldap.go#L271
should check error returned from getBindedConnection() before deferring conn.Close() (SA5001)
Create Build (operator)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Create Build (api)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636