Skip to content

build: refactor build configuration and remove unused sections #5

build: refactor build configuration and remove unused sections

build: refactor build configuration and remove unused sections #5

Triggered via push July 3, 2023 15:46
Status Failure
Total duration 2m 23s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
testing
Process completed with exit code 2.
lint: main.go#L15
import 'github.com/appleboy/gorush/config' is not allowed from list 'Main' (depguard)
lint: main.go#L16
import 'github.com/appleboy/gorush/core' is not allowed from list 'Main' (depguard)
lint: main.go#L17
import 'github.com/appleboy/gorush/logx' is not allowed from list 'Main' (depguard)
lint: main.go#L18
import 'github.com/appleboy/gorush/notify' is not allowed from list 'Main' (depguard)
lint: main.go#L19
import 'github.com/appleboy/gorush/router' is not allowed from list 'Main' (depguard)
lint: main.go#L20
import 'github.com/appleboy/gorush/rpc' is not allowed from list 'Main' (depguard)
lint: main.go#L21
import 'github.com/appleboy/gorush/status' is not allowed from list 'Main' (depguard)
lint: main.go#L23
import 'github.com/appleboy/graceful' is not allowed from list 'Main' (depguard)
lint: main.go#L24
import 'github.com/golang-queue/nats' is not allowed from list 'Main' (depguard)
lint: main.go#L25
import 'github.com/golang-queue/nsq' is not allowed from list 'Main' (depguard)
testing
Restore cache failed: Dependencies file is not found in /__w/gorush/gorush. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gorush/gorush. Supported file pattern: go.sum