chore: Switch to log/slog for logging #6044
main.yml
on: pull_request
test-alpine
1m 19s
test-archlinux
2m 3s
test-macos
16m 47s
test-oldstable-go
55s
test-release
15m 13s
test-ubuntu
9m 32s
test-windows
10m 6s
lint
32s
codeql
2m 32s
deploy-website
0s
Annotations
9 errors and 1 warning
lint:
internal/chezmoi/sourcestate.go#L996
Function `newSourceStateFile->newModifyTargetStateEntryFunc->newModifyTargetStateEntryFunc$1->newModifyTargetStateEntryFunc$1$1->LogCmdOutput->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/chezmoi/sourcestate.go#L1534
Function `LogHTTPRequest->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/chezmoi/sourcestate.go#L1646
Function `LogCmdOutput->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/chezmoi/sourcestate.go#L2682
Function `newSourceStateFile->newModifyTargetStateEntryFunc->newModifyTargetStateEntryFunc$1->newModifyTargetStateEntryFunc$1$1->LogCmdOutput->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/cmd/upgradecmd.go#L210
Function `LogHTTPRequest->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/cmd/upgradecmd.go#L240
Function `getLibc->LogCmdCombinedOutput->InfoOrError` should pass the context parameter (contextcheck)
|
lint:
internal/cmd/upgradecmd_unix.go#L132
Function `tempDir->InfoOrError` should pass the context parameter (contextcheck)
|
lint
issues found
|
test-macos
Process completed with exit code 1.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chezmoi-darwin-amd64
Expired
|
11.7 MB |
|
chezmoi-darwin-arm64
Expired
|
10.9 MB |
|
chezmoi-linux-amd64
Expired
|
11.6 MB |
|
chezmoi-linux-amd64-musl
Expired
|
11.6 MB |
|
chezmoi-windows-amd64
Expired
|
11.7 MB |
|