Skip to content

go.mod: Update minimum Go version to Go1.22. #927

go.mod: Update minimum Go version to Go1.22.

go.mod: Update minimum Go version to Go1.22. #927

Triggered via push May 6, 2024 20:45
Status Failure
Total duration 37s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
Build: minecraft/dial.go#L343
rand2.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. (SA1019)
Build
Process completed with exit code 1.
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/