Skip to content

chore(go): update to go 1.21 #16

chore(go): update to go 1.21

chore(go): update to go 1.21 #16

Triggered via pull request April 8, 2024 18:28
@ZenitharZenithar
synchronize #4
chore_go1_21
Status Failure
Total duration 2m 50s
Artifacts

pr.yml

on: pull_request
tests-on-windows
0s
tests-on-windows
tests-on-macos
0s
tests-on-macos
tests-on-unix
0s
tests-on-unix
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci-lint: v4/public.go#L54
stringXbytes: can simplify `[]byte(PublicPrefix)` to `PublicPrefix` (gocritic)
golangci-lint: v3/local.go#L110
stringXbytes: can simplify `[]byte(LocalPrefix)` to `LocalPrefix` (gocritic)
golangci-lint: v3/public.go#L70
stringXbytes: can simplify `[]byte(PublicPrefix)` to `PublicPrefix` (gocritic)
golangci-lint: v4/local.go#L119
unnecessary conversion (unconvert)
golangci-lint: v4/public.go#L61
unnecessary conversion (unconvert)
golangci-lint: v3/public.go#L77
unnecessary conversion (unconvert)
golangci-lint: v3/helpers.go#L64
mac - result 1 (error) is always nil (unparam)
golangci-lint: v3/helpers.go#L29
import 'zntr.io/paseto/internal/common' is not allowed from list 'Main' (depguard)
golangci-lint: v3/public.go#L31
import 'zntr.io/paseto/internal/common' is not allowed from list 'Main' (depguard)
golangci-lint: v3/public.go#L32
import 'zntr.io/paseto/v3/internal/rfc6979' is not allowed from list 'Main' (depguard)
go-mod
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-mod
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/