Skip to content

trying to fix golangci-lint GitHub action #23

trying to fix golangci-lint GitHub action

trying to fix golangci-lint GitHub action #23

Triggered via pull request January 21, 2024 22:28
Status Failure
Total duration 1m 17s
Artifacts

codetests.yml

on: pull_request
Matrix: golangci-lint
Matrix: golangci-lint
Matrix: gotest
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 3 warnings
golangci-lint (linux): env_test.go#L16
tag is not aligned, should be: json:"pslice" toml:"pslice" xml:"pslice" yaml:"pslice" (tagalign)
golangci-lint (linux): env_test.go#L17
tag is not aligned, should be: json:"sslice" toml:"sslice" xml:"sslice" yaml:"sslice" (tagalign)
golangci-lint (linux): env_test.go#L18
tag is not aligned, should be: json:"struct" toml:"struct" xml:"struct" yaml:"struct" (tagalign)
golangci-lint (linux): env_test.go#L19
tag is not aligned, should be: json:"pstruct" toml:"pstruct" xml:"pstruct" yaml:"pstruct" (tagalign)
golangci-lint (linux): env_test.go#L21
tag is not aligned, should be: json:"pslice2" toml:"pslice2" xml:"pslice2,delenv" yaml:"pslice2" (tagalign)
golangci-lint (linux): env_test.go#L22
tag is not aligned, should be: json:"sslice2" toml:"sslice2" xml:"sslice2" yaml:"sslice2" (tagalign)
golangci-lint (linux): env_test.go#L23
tag is not aligned, should be: json:"struct2" toml:"struct2" xml:"struct2" yaml:"struct2" (tagalign)
golangci-lint (linux): env_test.go#L24
tag is not aligned, should be: json:"pstruct2" toml:"pstruct2" xml:"pstruct2" yaml:"pstruct2" (tagalign)
golangci-lint (linux): env_test.go#L28
tag is not aligned, should be: json:"bool" toml:"bool" xml:"bool" yaml:"bool" (tagalign)
golangci-lint (linux): env_test.go#L29
tag is not aligned, should be: json:"int" toml:"int" xml:"int" yaml:"int" (tagalign)
golangci-lint (windows): env_test.go#L16
tag is not aligned, should be: json:"pslice" toml:"pslice" xml:"pslice" yaml:"pslice" (tagalign)
golangci-lint (windows): env_test.go#L17
tag is not aligned, should be: json:"sslice" toml:"sslice" xml:"sslice" yaml:"sslice" (tagalign)
golangci-lint (windows): env_test.go#L18
tag is not aligned, should be: json:"struct" toml:"struct" xml:"struct" yaml:"struct" (tagalign)
golangci-lint (windows): env_test.go#L19
tag is not aligned, should be: json:"pstruct" toml:"pstruct" xml:"pstruct" yaml:"pstruct" (tagalign)
golangci-lint (windows): env_test.go#L21
tag is not aligned, should be: json:"pslice2" toml:"pslice2" xml:"pslice2,delenv" yaml:"pslice2" (tagalign)
golangci-lint (windows): env_test.go#L22
tag is not aligned, should be: json:"sslice2" toml:"sslice2" xml:"sslice2" yaml:"sslice2" (tagalign)
golangci-lint (windows): env_test.go#L23
tag is not aligned, should be: json:"struct2" toml:"struct2" xml:"struct2" yaml:"struct2" (tagalign)
golangci-lint (windows): env_test.go#L24
tag is not aligned, should be: json:"pstruct2" toml:"pstruct2" xml:"pstruct2" yaml:"pstruct2" (tagalign)
golangci-lint (windows): env_test.go#L28
tag is not aligned, should be: json:"bool" toml:"bool" xml:"bool" yaml:"bool" (tagalign)
golangci-lint (windows): env_test.go#L29
tag is not aligned, should be: json:"int" toml:"int" xml:"int" yaml:"int" (tagalign)
golangci-lint (freebsd): env_test.go#L16
tag is not aligned, should be: json:"pslice" toml:"pslice" xml:"pslice" yaml:"pslice" (tagalign)
golangci-lint (freebsd): env_test.go#L17
tag is not aligned, should be: json:"sslice" toml:"sslice" xml:"sslice" yaml:"sslice" (tagalign)
golangci-lint (freebsd): env_test.go#L18
tag is not aligned, should be: json:"struct" toml:"struct" xml:"struct" yaml:"struct" (tagalign)
golangci-lint (freebsd): env_test.go#L19
tag is not aligned, should be: json:"pstruct" toml:"pstruct" xml:"pstruct" yaml:"pstruct" (tagalign)
golangci-lint (freebsd): env_test.go#L21
tag is not aligned, should be: json:"pslice2" toml:"pslice2" xml:"pslice2,delenv" yaml:"pslice2" (tagalign)
golangci-lint (freebsd): env_test.go#L22
tag is not aligned, should be: json:"sslice2" toml:"sslice2" xml:"sslice2" yaml:"sslice2" (tagalign)
golangci-lint (freebsd): env_test.go#L23
tag is not aligned, should be: json:"struct2" toml:"struct2" xml:"struct2" yaml:"struct2" (tagalign)
golangci-lint (freebsd): env_test.go#L24
tag is not aligned, should be: json:"pstruct2" toml:"pstruct2" xml:"pstruct2" yaml:"pstruct2" (tagalign)
golangci-lint (freebsd): env_test.go#L28
tag is not aligned, should be: json:"bool" toml:"bool" xml:"bool" yaml:"bool" (tagalign)
golangci-lint (freebsd): env_test.go#L29
tag is not aligned, should be: json:"int" toml:"int" xml:"int" yaml:"int" (tagalign)
golangci-lint (darwin)
The job was canceled because "freebsd" failed.
golangci-lint (darwin)
The operation was canceled.
golangci-lint (linux)
Restore cache failed: Dependencies file is not found in /home/runner/work/cnfg/cnfg. Supported file pattern: go.sum
golangci-lint (windows)
Restore cache failed: Dependencies file is not found in /home/runner/work/cnfg/cnfg. Supported file pattern: go.sum
golangci-lint (freebsd)
Restore cache failed: Dependencies file is not found in /Users/runner/work/cnfg/cnfg. Supported file pattern: go.sum