Bump actions/cache from 3 to 4 #2
Annotations
9 errors and 2 warnings
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L153
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L113
Consider pre-allocating `splitWeights` (prealloc)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L102
calculated cyclomatic complexity for function downloadFont is 12, max is 10 (cyclop)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L89
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected status code: %d\", resp.StatusCode)" (err113)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L77
Magic number: 10, in <assign> detected (gomnd)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L106
Magic number: 10, in <assign> detected (gomnd)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L80
(*net/http.Client).Get must not be called (noctx)
|
Lints all code with golangci-lint:
pkg/services/fontsource/fontsource.go#L132
(*net/http.Client).Get must not be called (noctx)
|
Lints all code with golangci-lint
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/fontsourcedownloader/fontsourcedownloader. Supported file pattern: go.sum
|
Loading