Skip to content

Lint Go codes

Lint Go codes #93

Manually triggered January 29, 2024 15:31
Status Success
Total duration 32s
Artifacts

lint.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: 01-getting-started/01-hello-world/exercise.go#L1
: # github.com/l7mp/learning-go/01-getting-started/01-hello-world [github.com/l7mp/learning-go/01-getting-started/01-hello-world.test]
lint: 01-getting-started/01-hello-world/exercise_test.go#L2
syntax error: package statement must be first (typecheck)
lint: 02-types/01-booleans/exercise.go#L1
: # github.com/l7mp/learning-go/02-types/01-booleans [github.com/l7mp/learning-go/02-types/01-booleans.test]
lint: 02-types/01-booleans/exercise_test.go#L2
syntax error: package statement must be first (typecheck)
lint: 02-types/02-numbers/exercise.go#L1
: # github.com/l7mp/learning-go/02-types/02-numbers [github.com/l7mp/learning-go/02-types/02-numbers.test]
lint: 02-types/02-numbers/exercise_test.go#L2
syntax error: package statement must be first (typecheck)
lint: 02-types/03-strings/exercise.go#L1
: # github.com/l7mp/learning-go/02-types/03-strings [github.com/l7mp/learning-go/02-types/03-strings.test]
lint: 02-types/03-strings/exercise_test.go#L2
syntax error: package statement must be first (typecheck)
lint: 02-types/04-printf/exercise.go#L1
: # github.com/l7mp/learning-go/02-types/04-printf [github.com/l7mp/learning-go/02-types/04-printf.test]
lint: 02-types/04-printf/exercise_test.go#L2
syntax error: package statement must be first (typecheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/learning-go/learning-go. Supported file pattern: go.sum