Skip to content

Add list generic package version/file API endpoint #34249

Add list generic package version/file API endpoint

Add list generic package version/file API endpoint #34249

Triggered via pull request November 6, 2025 02:12
Status Failure
Total duration 8m 20s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: tests/integration/api_packages_generic_test.go#L128
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-gogit: tests/integration/api_packages_generic_test.go#L121
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-gogit: tests/integration/api_packages_generic_test.go#L117
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-gogit: tests/integration/api_packages_generic_test.go#L116
len: use assert.Len (testifylint)
lint-go-gogit: tests/integration/api_packages_generic_test.go#L38
var-naming: var listUrl should be listURL (revive)
lint-go-gogit: tests/integration/api_packages_generic_test.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-backend
Process completed with exit code 2.
lint-backend: tests/integration/api_packages_generic_test.go#L128
expected-actual: need to reverse actual and expected values (testifylint)
lint-backend: tests/integration/api_packages_generic_test.go#L121
expected-actual: need to reverse actual and expected values (testifylint)
lint-backend: tests/integration/api_packages_generic_test.go#L117
expected-actual: need to reverse actual and expected values (testifylint)
lint-backend: tests/integration/api_packages_generic_test.go#L116
len: use assert.Len (testifylint)
lint-backend: tests/integration/api_packages_generic_test.go#L38
var-naming: var listUrl should be listURL (revive)
lint-backend: tests/integration/api_packages_generic_test.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-go-windows
Process completed with exit code 2.
lint-go-windows: tests/integration/api_packages_generic_test.go#L128
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-windows: tests/integration/api_packages_generic_test.go#L121
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-windows: tests/integration/api_packages_generic_test.go#L117
expected-actual: need to reverse actual and expected values (testifylint)
lint-go-windows: tests/integration/api_packages_generic_test.go#L116
len: use assert.Len (testifylint)
lint-go-windows: tests/integration/api_packages_generic_test.go#L38
var-naming: var listUrl should be listURL (revive)
lint-go-windows: tests/integration/api_packages_generic_test.go#L8
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)