Skip to content

feat: Implement SPDX license validation and add test cases #704

feat: Implement SPDX license validation and add test cases

feat: Implement SPDX license validation and add test cases #704

Triggered via pull request February 3, 2025 12:31
Status Failure
Total duration 32s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: internal/spdx/license.go#L201
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: internal/spdx/license.go#L216
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: internal/spdx/license.go#L20
Comment should end in a period (godot)
lint: internal/spdx/license.go#L35
Comment should end in a period (godot)
lint: internal/spdx/license.go#L77
Comment should end in a period (godot)
lint: internal/spdx/license.go#L259
tokenize - result 1 (error) is always nil (unparam)
lint
issues found