policies: widen allowed filepaths #2357
Annotations
10 errors and 1 warning
Run golangci-lint:
pkg/distro/fedora/imagetype.go#L19
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
Run golangci-lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
Run golangci-lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
Run golangci-lint:
pkg/distro/rhel7/imagetype.go#L16
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
Run golangci-lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
Run golangci-lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
Run golangci-lint:
pkg/distro/distro_test.go#L615
cannot infer S (vendor/golang.org/x/exp/slices/slices.go:116:1) (typecheck)
|
Run golangci-lint:
pkg/distro/rhel8/imagetype.go#L22
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
Run golangci-lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
Run golangci-lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
Set up Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/images/images. Supported file pattern: go.sum
|
Loading