Skip to content

feat: windows has colors support #78

feat: windows has colors support

feat: windows has colors support #78

Triggered via pull request October 31, 2024 17:43
Status Failure
Total duration 1m 31s
Artifacts

lint.yml

on: pull_request
Matrix: lint / lint-soft
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 6 warnings
lint / lint-soft (ubuntu-latest): profile.go#L15
Comment should end in a period (godot)
lint / lint-soft (ubuntu-latest): profile.go#L17
Comment should end in a period (godot)
lint / lint-soft (ubuntu-latest): profile.go#L19
Comment should end in a period (godot)
lint / lint-soft (ubuntu-latest): profile.go#L21
Comment should end in a period (godot)
lint / lint-soft (ubuntu-latest): profile.go#L23
Comment should end in a period (godot)
lint / lint-soft (ubuntu-latest): env.go#L164
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (ubuntu-latest): writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
lint / lint-soft (ubuntu-latest): env.go#L196
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): profile.go#L86
Magic number: 40, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
lint / lint-soft (macos-latest): profile.go#L15
Comment should end in a period (godot)
lint / lint-soft (macos-latest): profile.go#L17
Comment should end in a period (godot)
lint / lint-soft (macos-latest): profile.go#L19
Comment should end in a period (godot)
lint / lint-soft (macos-latest): profile.go#L21
Comment should end in a period (godot)
lint / lint-soft (macos-latest): profile.go#L23
Comment should end in a period (godot)
lint / lint-soft (macos-latest): env.go#L164
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (macos-latest): writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
lint / lint-soft (macos-latest): env.go#L196
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): profile.go#L86
Magic number: 40, in <argument> detected (mnd)
lint / lint-soft (macos-latest): profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
lint / lint (windows-latest)
issues found
lint / lint-soft (windows-latest): profile.go#L15
Comment should end in a period (godot)
lint / lint-soft (windows-latest): profile.go#L17
Comment should end in a period (godot)
lint / lint-soft (windows-latest): profile.go#L19
Comment should end in a period (godot)
lint / lint-soft (windows-latest): profile.go#L21
Comment should end in a period (godot)
lint / lint-soft (windows-latest): profile.go#L23
Comment should end in a period (godot)
lint / lint-soft (windows-latest): env.go#L164
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (windows-latest): writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
lint / lint-soft (windows-latest): env.go#L196
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): profile.go#L86
Magic number: 40, in <argument> detected (mnd)
lint / lint-soft (windows-latest): profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\colorprofile\colorprofile. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\colorprofile\colorprofile. Supported file pattern: go.sum