Skip to content

optimize github workflows #88

optimize github workflows

optimize github workflows #88

Triggered via push August 5, 2024 15:29
Status Failure
Total duration 41s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
build: backend/backend.go#L266
ineffectual assignment to err (ineffassign)
build: backend/backend.go#L269
ineffectual assignment to err (ineffassign)
build: backend/http.go#L229
ineffectual assignment to err (ineffassign)
build: service/http.go#L13
SA1019: "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. (staticcheck)
build: backend/proxy.go#L41
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
build: backend/http.go#L14
SA1019: "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. (staticcheck)
build
issues found
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/