Skip to content

feat: modernize CI #157

feat: modernize CI

feat: modernize CI #157

Triggered via push September 5, 2024 06:35
Status Failure
Total duration 40s
Artifacts

ci.yaml

on: push
Matrix: golangci
Matrix: lint_and_test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
golangci (1.23.x, ubuntu-latest)
Cannot open: File exists
golangci (1.23.x, ubuntu-latest): healthcrm_test.go#L148
string `Sad case: unable to make request` has 11 occurrences, make it a constant (goconst)
golangci (1.23.x, ubuntu-latest): client.go#L86
unnecessary trailing newline (whitespace)
golangci (1.23.x, ubuntu-latest): client.go#L92
unnecessary leading newline (whitespace)
golangci (1.23.x, ubuntu-latest): healthcrm_test.go#L300
unnecessary leading newline (whitespace)
golangci (1.23.x, ubuntu-latest): client_test.go#L126
response body must be closed (bodyclose)
golangci (1.23.x, ubuntu-latest)
issues found
golangci (1.23.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci (1.23.x, ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/healthcrm/healthcrm. Supported file pattern: go.sum