Skip to content

Update dependencies #55

Update dependencies

Update dependencies #55

Triggered via push June 11, 2024 07:34
Status Failure
Total duration 37s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: main.go#L13
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
lint: main.go#L14
import 'github.com/prometheus/client_golang/prometheus/promhttp' is not allowed from list 'Main' (depguard)
lint: metrics.go#L4
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
lint: client_test.go#L10
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: http_test.go#L14
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
lint: http_test.go#L15
import 'github.com/prometheus/client_golang/prometheus/promhttp' is not allowed from list 'Main' (depguard)
lint: http_test.go#L16
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: http_test.go#L17
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
lint: keys_test.go#L6
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: http.go#L55
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"host missing in request URI\")" (err113)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: proxy.go#L57
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
lint: http_test.go#L52
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
lint: http_test.go#L81
unused-parameter: parameter 'hostname' seems to be unused, consider removing or renaming it as _ (revive)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/http-over-ssh/http-over-ssh. Supported file pattern: go.sum