Skip to content

Add config profile support #140

Add config profile support

Add config profile support #140

Triggered via pull request July 29, 2024 17:17
Status Failure
Total duration 52s
Artifacts

validations.yaml

on: pull_request
Static analysis
43s
Static analysis
Unit tests
39s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 2 warnings
Unit tests: setup_config.go#L83
c.FangsConfig.WithProfileEnvVar undefined (type fangs.Config has no field or method WithProfileEnvVar)
Unit tests: setup_config.go#L84
cannot use func(cfg fangs.Config) ([]string, error) {…} (value of type func(cfg fangs.Config) ([]string, error)) as fangs.Finder value in array or slice literal
Unit tests: setup_config.go#L85
cfg.Profile undefined (type fangs.Config has no field or method Profile)
Unit tests: setup_config.go#L88
cfg.Profile undefined (type fangs.Config has no field or method Profile)
Unit tests: setup_config.go#L99
c.FangsConfig.Profile undefined (type fangs.Config has no field or method Profile)
Unit tests: setup_config.go#L100
c.FangsConfig.Profile undefined (type fangs.Config has no field or method Profile)
Unit tests
Process completed with exit code 2.
Static analysis: setup_config.go#L83
c.FangsConfig.WithProfileEnvVar undefined (type fangs.Config has no field or method WithProfileEnvVar)
Static analysis: setup_config.go#L84
cannot use func(cfg fangs.Config) ([]string, error) {…} (value of type func(cfg fangs.Config) ([]string, error)) as fangs.Finder value in array or slice literal
Static analysis: setup_config.go#L85
cfg.Profile undefined (type fangs.Config has no field or method Profile)
Static analysis: setup_config.go#L88
cfg.Profile undefined (type fangs.Config has no field or method Profile)
Static analysis: setup_config.go#L99
c.FangsConfig.Profile undefined (type fangs.Config has no field or method Profile)
Static analysis: setup_config.go#L100
c.FangsConfig.Profile undefined (type fangs.Config has no field or method Profile) (typecheck)
Static analysis: cliotestutils/application.go#L10
could not import github.com/anchore/clio (-: # github.com/anchore/clio
Static analysis: setup_config.go#L83
c.FangsConfig.WithProfileEnvVar undefined (type fangs.Config has no field or method WithProfileEnvVar)
Static analysis: setup_config.go#L84
cannot use func(cfg fangs.Config) ([]string, error) {…} (value of type func(cfg fangs.Config) ([]string, error)) as fangs.Finder value in array or slice literal
Static analysis: setup_config.go#L85
cfg.Profile undefined (type fangs.Config has no field or method Profile)
Unit tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/