fix: 🐛 static code error and mock tests #346
go-vet-lint-deps.yaml
on: pull_request
staticcheck
4m 50s
Annotations
10 errors and 1 warning
staticcheck:
pkg/environment/createPR.go#L16
Error return value of `rand.Read` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L22
Error return value of `checkCmd.Start` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L23
Error return value of `checkCmd.Wait` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L28
Error return value of `cmd.Start` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L29
Error return value of `cmd.Wait` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L33
Error return value of `commitCmd.Start` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L34
Error return value of `commitCmd.Wait` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L37
Error return value of `pushCmd.Start` is not checked (errcheck)
|
staticcheck:
pkg/environment/createPR.go#L38
Error return value of `pushCmd.Wait` is not checked (errcheck)
|
staticcheck
issues found
|
staticcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|