Skip to content

chore(go): update to go 1.21 #12

chore(go): update to go 1.21

chore(go): update to go 1.21 #12

Triggered via pull request August 25, 2023 18:55
Status Failure
Total duration 1m 1s
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

11 errors and 3 warnings
go-mod
Process completed with exit code 1.
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/local.go#L117
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
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/[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/
golangci-lint
The `save-state` 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/