Skip to content

chore: Switch to log/slog for logging #6044

chore: Switch to log/slog for logging

chore: Switch to log/slog for logging #6044

Triggered via pull request February 11, 2024 02:03
@twpaynetwpayne
synchronize #3544
slog
Status Failure
Total duration 17m 15s
Artifacts 5

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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