Skip to content

added git lfs for mirrors #124

added git lfs for mirrors

added git lfs for mirrors #124

Triggered via pull request February 9, 2024 09:43
@cooperspencercooperspencer
synchronize #204
git_lfs
Status Failure
Total duration 30s
Artifacts

validate-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L70
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L6
import 'github.com/cooperspencer/gickup/types' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L7
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L8
import 'github.com/prometheus/client_golang/prometheus/promauto' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L9
import 'github.com/prometheus/client_golang/prometheus/promhttp' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L10
import 'github.com/rs/zerolog/log' is not allowed from list 'Main' (depguard)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L13
prometheus.GaugeOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L18
prometheus.GaugeOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L23
prometheus.GaugeOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
lint: go/src/github.com/cooperspencer/gickup/metrics/prometheus/prometheus.go#L28
prometheus.CounterOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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/
lint: go/src/github.com/cooperspencer/gickup/local/local.go#L529
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#L546
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#L636
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#L190
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)