Skip to content

fetch updates on a bare repo #168

fetch updates on a bare repo

fetch updates on a bare repo #168

Triggered via pull request August 29, 2024 14:03
Status Failure
Total duration 3m 46s
Artifacts

validate-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L223
223-251 lines are duplicate of `gogs/gogs.go:350-379` (dupl)
lint: go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L350
350-379 lines are duplicate of `gogs/gogs.go:223-251` (dupl)
lint: go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L187
187-217 lines are duplicate of `gogs/gogs.go:314-344` (dupl)
lint: go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L314
314-344 lines are duplicate of `gogs/gogs.go:187-217` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L608
608-669 lines are duplicate of `main.go:687-748` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L687
687-748 lines are duplicate of `main.go:608-669` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L267
267-340 lines are duplicate of `main.go:351-424` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L351
351-424 lines are duplicate of `main.go:439-512` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L439
439-512 lines are duplicate of `main.go:267-340` (dupl)
lint: go/src/github.com/cooperspencer/gickup/main.go#L264
264-344 lines are duplicate of `main.go:348-428` (dupl)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: go/src/github.com/cooperspencer/gickup/types/types.go#L130
unused-parameter: parameter 'parent' seems to be unused, consider removing or renaming it as _ (revive)
lint: go/src/github.com/cooperspencer/gickup/types/types.go#L82
var-naming: struct field Url should be URL (revive)
lint: go/src/github.com/cooperspencer/gickup/github/github.go#L162
var-naming: don't use underscores in Go names; var github_repo should be githubRepo (revive)
lint: go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L249
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
lint: go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L419
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
lint: go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L534
unused-parameter: parameter 'repo' seems to be unused, consider removing or renaming it as _ (revive)
lint: go/src/github.com/cooperspencer/gickup/local/local.go#L191
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
lint: go/src/github.com/cooperspencer/gickup/local/local.go#L585
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: go/src/github.com/cooperspencer/gickup/local/local.go#L602
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)