Skip to content

Change cache to avoid memory use #571

Change cache to avoid memory use

Change cache to avoid memory use #571

Triggered via pull request March 7, 2024 18:37
Status Failure
Total duration 4m 15s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
test: pkg/enforce/enforce_test.go#L553
cannot use mockGhc (variable of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free)
test: pkg/enforce/enforce_test.go#L586
cannot use &MockGhClients{} (value of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free)
test: pkg/enforce/enforce_test.go#L594
cannot use &MockGhClients{} (value of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free)
test
Process completed with exit code 1.
lint: pkg/enforce/enforce.go#L1
: # github.com/ossf/allstar/pkg/enforce [github.com/ossf/allstar/pkg/enforce.test]
lint: pkg/enforce/enforce_test.go#L553
cannot use mockGhc (variable of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free)
lint: pkg/enforce/enforce_test.go#L586
cannot use &MockGhClients{} (value of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free)
lint: pkg/enforce/enforce_test.go#L594
cannot use &MockGhClients{} (value of type *MockGhClients) as ghclients.GhClientsInterface value in argument to EnforceAll: *MockGhClients does not implement ghclients.GhClientsInterface (missing method Free) (typecheck)
lint
issues found
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.