fix: should check error before using the response body #345
Annotations
8 errors and 5 warnings
test (ubuntu-latest):
lib/diff/format.go#L31
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
test (ubuntu-latest):
each_test.go#L90
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
test (ubuntu-latest):
utils_test.go#L76
unused-parameter: parameter 'rw' seems to be unused, consider removing or renaming it as _ (revive)
|
test (ubuntu-latest):
utils_test.go#L79
unused-parameter: parameter 'rw' seems to be unused, consider removing or renaming it as _ (revive)
|
test (ubuntu-latest):
utils_test.go#L84
unused-parameter: parameter 'rw' seems to be unused, consider removing or renaming it as _ (revive)
|
test (ubuntu-latest)
Process completed with exit code 1.
|
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
test (windows-latest)
The operation was canceled.
|
test (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/got/got. Supported file pattern: go.sum
|
test (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/got/got. Supported file pattern: go.sum
|
test (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\got\got. Supported file pattern: go.sum
|