Skip to content

chore: Bump Go version and add Makefile #243

chore: Bump Go version and add Makefile

chore: Bump Go version and add Makefile #243

Triggered via push June 28, 2024 13:23
Status Failure
Total duration 46s
Artifacts

go.yml

on: push
Build and cache dependencies
9s
Build and cache dependencies
Run tests
17s
Run tests
Run tests with race checker
20s
Run tests with race checker
linting
22s
linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
linting: integration_test.go#L24
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
linting: integration_test.go#L33
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
linting: configuration_test.go#L98
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: context_test.go#L79
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: error_test.go#L23
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: error_test.go#L104
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: notifier_test.go#L28
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: session_test.go#L83
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
linting: builds/http.go#L40
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"publisher created incorrectly; please use NewPublisher or DefaultPublisher to construct your builds.Publisher\")" (err113)
linting: builds/http.go#L79
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error when sending message: %s\", res.Errors[0])" (err113)
Build and cache dependencies
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests with race checker
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.