Skip to content

Git init

Git init #1070

Triggered via pull request April 24, 2024 11:11
Status Failure
Total duration 1m 34s
Artifacts

go.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L215
Error return value of `w.Write` is not checked (errcheck)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L216
Error return value of `w.Write` is not checked (errcheck)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L217
Error return value of `w.Write` is not checked (errcheck)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L46
func `(*Handler).validateCredentials` is unused (unused)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L123
S1039: unnecessary use of fmt.Sprintf (gosimple)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L196
S1039: unnecessary use of fmt.Sprintf (gosimple)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L213
S1039: unnecessary use of fmt.Sprintf (gosimple)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L52
S1008: should use 'return err == nil' instead of 'if err != nil { return false }; return true' (gosimple)
Build (1.21.4, ubuntu-latest): pkg/api/git.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Build (1.21.4, ubuntu-latest)
Process completed with exit code 2.
Build (1.21.4, windows-latest)
The job was canceled because "_1_21_4_ubuntu-latest" failed.
Build (1.21.4, windows-latest)
The operation was canceled.
Build (1.21.4, macos-latest)
The job was canceled because "_1_21_4_ubuntu-latest" failed.
Build (1.21.4, macos-latest)
The operation was canceled.
Build (1.21.4, 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, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (1.21.4, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/fairOS-dfs/fairOS-dfs. Supported file pattern: go.sum
Build (1.21.4, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\fairOS-dfs\fairOS-dfs. Supported file pattern: go.sum
Build (1.21.4, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/fairOS-dfs/fairOS-dfs. Supported file pattern: go.sum