Skip to content

migrate to slog & go 1.21 #329

migrate to slog & go 1.21

migrate to slog & go 1.21 #329

Triggered via push August 8, 2023 23:57
Status Failure
Total duration 31s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors
gobuild: gateway/gateway_config.go#L4
package log/slog is not in GOROOT (/opt/hostedtoolcache/go/1.18.10/x64/src/log/slog)
gobuild: cache/cache_policy.go#L4
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.18.10/x64/src/slices)
gobuild
Process completed with exit code 1.
gotest: gateway/gateway_config.go#L4
package log/slog is not in GOROOT (/opt/hostedtoolcache/go/1.18.10/x64/src/log/slog)
gotest: cache/cache_policy.go#L4
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.18.10/x64/src/slices)
gotest
Process completed with exit code 1.
golangci: events/guild_auto_moderation_events.go#L39
e.GuildID undefined (type *AutoModerationActionExecution has no field or method GuildID) (typecheck)
golangci: handler/autocomplete.go#L17
e.Client undefined (type *AutocompleteEvent has no field or method Client) (typecheck)
golangci: handler/autocomplete.go#L21
e.Client undefined (type *AutocompleteEvent has no field or method Client) (typecheck)
golangci: handler/autocomplete.go#L25
e.Client undefined (type *AutocompleteEvent has no field or method Client) (typecheck)
golangci: handler/command.go#L17
e.Client undefined (type *CommandEvent has no field or method Client) (typecheck)
golangci: handler/command.go#L21
e.Client undefined (type *CommandEvent has no field or method Client) (typecheck)
golangci: handler/command.go#L25
e.Client undefined (type *CommandEvent has no field or method Client) (typecheck)
golangci: handler/component.go#L17
e.Client undefined (type *ComponentEvent has no field or method Client) (typecheck)
golangci: handler/component.go#L21
e.Client undefined (type *ComponentEvent has no field or method Client) (typecheck)
golangci: handler/component.go#L25
e.Client undefined (type *ComponentEvent has no field or method Client) (typecheck)