Skip to content

Update dependencies #54

Update dependencies

Update dependencies #54

Triggered via push January 12, 2024 02:22
Status Failure
Total duration 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: main.go#L89
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
lint: client_test.go#L88
G601: Implicit memory aliasing in for loop. (gosec)
lint: http_test.go#L188
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
lint: http_test.go#L198
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
lint: client.go#L42
return statements should not be cuddled if block has more than two lines (wsl)
lint: client.go#L50
only cuddled expressions if assigning variable or using from line above (wsl)
lint: client.go#L51
return statements should not be cuddled if block has more than two lines (wsl)
lint: client.go#L56
only cuddled expressions if assigning variable or using from line above (wsl)
lint: client.go#L86
branch statements should not be cuddled if block has more than two lines (wsl)
lint: client.go#L91
only cuddled expressions if assigning variable or using from line above (wsl)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/http-over-ssh/http-over-ssh. Supported file pattern: go.sum