Skip to content

fix install command

fix install command #3

Triggered via push April 8, 2024 09:11
Status Failure
Total duration 1m 5s
Artifacts

golang-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: driver_mysql.go#L18
func `normalizeDNS` is unused (unused)
lint: driver_mysql.go#L30
func `normalizeMySQLDSN` is unused (unused)
lint: dumper.go#L218
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
lint: loader.go#L23
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
lint: loader.go#L27
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
lint: migration_test.go#L91
ineffectual assignment to currentVersion (ineffassign)
lint: console.go#L23
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: db.go#L264
SA9003: empty branch (staticcheck)
lint: db.go#L266
SA9003: empty branch (staticcheck)
lint: strcase.go#L73
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, 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/rockhopper/rockhopper. Supported file pattern: go.sum