Skip to content

Add cacheDuration, validUntil to RoleDescriptors #26

Add cacheDuration, validUntil to RoleDescriptors

Add cacheDuration, validUntil to RoleDescriptors #26

Triggered via pull request October 11, 2023 13:33
Status Failure
Total duration 1m 3s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
33s
Run golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
Run golangci-lint: schema.go#L670
G101: Potential hardcoded credentials (gosec)
Run golangci-lint
issues found
Run golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run golangci-lint: logger/logger.go#L1
package-comments: should have a package comment (revive)
Run golangci-lint: testsaml/parse.go#L1
package-comments: should have a package comment (revive)
Run golangci-lint: xmlenc/decrypt.go#L111
empty-block: this block is empty, you can remove it (revive)
Run golangci-lint: xmlenc/cbc.go#L34
unused-parameter: parameter 'nonce' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: samlidp/session.go#L105
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: samlidp/session.go#L138
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: samlidp/session.go#L152
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: samlidp/shortcut.go#L34
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)