Fix the lint issues #90
ci.yaml
on: pull_request
Matrix: test
lint
3m 1s
Check coverage
0s
Release a new version
0s
Annotations
7 errors and 1 warning
lint:
testing/docker.go#L290
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
lint:
internal/cli/main.go#L75
SA4009: argument version is overwritten before first use (staticcheck)
|
lint:
internal/cli/main.go#L77
SA4009(related information): assignment to version (staticcheck)
|
lint
issues found
|
test (1.22.x)
Process completed with exit code 2.
|
test (1.21.x)
The job was canceled because "_1_22_x" failed.
|
test (1.21.x)
The operation was canceled.
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/migrate/migrate. Supported file pattern: go.sum
|