Skip to content

added cloning of gists #174

added cloning of gists

added cloning of gists #174

Triggered via pull request September 28, 2024 10:14
Status Failure
Total duration 29s
Artifacts

validate-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L18
Function 'Get' has too many statements (47 > 40) (funlen)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L13
File is not `gofumpt`-ed (gofumpt)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L72
`if repo.Token != ""` has complex nested blocks (complexity: 22) (nestif)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L97
unnecessary trailing newline (whitespace)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L7
import 'github.com/cooperspencer/gickup/logger' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L8
import 'github.com/cooperspencer/gickup/types' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L9
import 'github.com/ktrysmt/go-bitbucket' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L10
import 'github.com/rs/zerolog' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L65
bitbucket.RepositoriesOptions is missing fields Project, Role, Page, Keyword (exhaustruct)
lint: go/src/github.com/cooperspencer/gickup/bitbucket/bitbucket.go#L90
bitbucket.RepositoriesOptions is missing fields Project, Role, Page, Keyword (exhaustruct)
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
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/