Skip to content

Update scorecard and Go versions. #577

Update scorecard and Go versions.

Update scorecard and Go versions. #577

Triggered via pull request March 27, 2024 23:14
Status Failure
Total duration 5m 25s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
test: pkg/scorecard/scorecard_test.go#L139
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
test: pkg/scorecard/scorecard_test.go#L169
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
test: pkg/scorecard/scorecard_test.go#L199
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
test: pkg/scorecard/scorecard_test.go#L223
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
test
Process completed with exit code 1.
lint: pkg/scorecard/scorecard.go#L1
: # github.com/ossf/allstar/pkg/scorecard [github.com/ossf/allstar/pkg/scorecard.test]
lint: pkg/scorecard/scorecard_test.go#L139
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
lint: pkg/scorecard/scorecard_test.go#L169
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
lint: pkg/scorecard/scorecard_test.go#L199
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader)
lint: pkg/scorecard/scorecard_test.go#L223
cannot use mockRC{} (value of type mockRC) as clients.RepoClient value in return statement: mockRC does not implement clients.RepoClient (missing method GetFileReader) (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/.