policies: widen allowed filepaths #2357
tests.yml
on: pull_request
π Unit tests
4m 52s
π Unit tests (CentOS Stream 9)
3m 19s
π Unit tests (CentOS Stream 8)
3m 52s
β¨ Lint
38s
π Check source preparation
41s
π Shellcheck
5s
π pytest (imgtestlib)
58s
π Lint (test scripts)
50s
Annotations
13 errors and 3 warnings
β¨ Lint:
pkg/distro/fedora/imagetype.go#L19
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
β¨ Lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
β¨ Lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
β¨ Lint:
pkg/distro/rhel7/imagetype.go#L16
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
β¨ Lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
β¨ Lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
β¨ Lint:
pkg/distro/distro_test.go#L615
cannot infer S (vendor/golang.org/x/exp/slices/slices.go:116:1) (typecheck)
|
β¨ Lint:
pkg/distro/rhel8/imagetype.go#L22
could not import github.com/osbuild/images/pkg/policies (-: # github.com/osbuild/images/pkg/policies
|
β¨ Lint:
pkg/policies/policies.go#L55
duplicate key "/boot" in map literal
|
β¨ Lint:
pkg/policies/policies.go#L64
duplicate key "/boot" in map literal) (typecheck)
|
π Unit tests (CentOS Stream 9)
Process completed with exit code 1.
|
π Unit tests (CentOS Stream 8)
Process completed with exit code 1.
|
π Unit tests
Process completed with exit code 1.
|
π Shellcheck
Input 'ignore' has been deprecated with message: Use ignore_paths or ignore_names instead.
|
β¨ Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/images/images. Supported file pattern: go.sum
|
π Check source preparation
Restore cache failed: Dependencies file is not found in /home/runner/work/images/images. Supported file pattern: go.sum
|