Skip to content

ci: refine CI workflows and test tolerances #55

ci: refine CI workflows and test tolerances

ci: refine CI workflows and test tolerances #55

Triggered via push December 27, 2023 02:36
Status Failure
Total duration 55s
Artifacts

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
ubuntu-latest @ Go 1.17
undefined: reflect.Pointer
ubuntu-latest @ Go 1.17
Process completed with exit code 2.
ubuntu-latest @ Go 1.18
The job was canceled because "ubuntu-latest_1_17" failed.
ubuntu-latest @ Go 1.18
The operation was canceled.
lint: redis_test.go#L40
string `:6379` has 9 occurrences, make it a constant (goconst)
lint: options.go#L7
import 'github.com/golang-queue/queue' is not allowed from list 'Main' (depguard)
lint: options.go#L8
import 'github.com/golang-queue/queue/core' is not allowed from list 'Main' (depguard)
lint: redis.go#L11
import 'github.com/golang-queue/queue' is not allowed from list 'Main' (depguard)
lint: redis.go#L12
import 'github.com/golang-queue/queue/core' is not allowed from list 'Main' (depguard)
lint: redis.go#L13
import 'github.com/golang-queue/queue/job' is not allowed from list 'Main' (depguard)
lint: redis.go#L15
import 'github.com/redis/go-redis/v9' is not allowed from list 'Main' (depguard)
lint: redis_test.go#L13
import 'github.com/golang-queue/queue' is not allowed from list 'Main' (depguard)
lint: redis_test.go#L14
import 'github.com/golang-queue/queue/core' is not allowed from list 'Main' (depguard)
lint: redis_test.go#L15
import 'github.com/golang-queue/queue/job' is not allowed from list 'Main' (depguard)
ubuntu-latest @ Go 1.19
The job was canceled because "ubuntu-latest_1_17" failed.
ubuntu-latest @ Go 1.19
The operation was canceled.
ubuntu-latest @ Go 1.17
Restore cache failed: Dependencies file is not found in /home/runner/work/redisdb-stream/redisdb-stream. Supported file pattern: go.sum
ubuntu-latest @ Go 1.18
Restore cache failed: Dependencies file is not found in /home/runner/work/redisdb-stream/redisdb-stream. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/redisdb-stream/redisdb-stream. Supported file pattern: go.sum
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/redisdb-stream/redisdb-stream. Supported file pattern: go.sum