Skip to content

feat: move uxid

feat: move uxid #43

Triggered via push August 10, 2024 06:36
Status Failure
Total duration 2m 44s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build: uxid/id.go#L43
assignOp: replace `n = n / encodeDictSize` with `n /= encodeDictSize` (gocritic)
build: uxid/id.go#L36
S1019: should use make([]string, 12) instead (gosimple)
build: uxid/id.go#L17
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
build
issues found
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/