Skip to content

chore: refine CI workflow and improve code quality #61

chore: refine CI workflow and improve code quality

chore: refine CI workflow and improve code quality #61

Triggered via push May 5, 2024 02:16
Status Failure
Total duration 34s
Artifacts

go.yml

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

Annotations

19 errors and 3 warnings
macos-latest @ Go
Command failed: version /bin/sh: version: command not found
ubuntu-latest @ Go 1.19
The job was canceled because "macos-latest___Library_Ca" failed.
ubuntu-latest @ Go 1.19
The operation was canceled.
ubuntu-latest @ Go 1.18
The job was canceled because "macos-latest___Library_Ca" failed.
ubuntu-latest @ Go 1.18
The operation was canceled.
ubuntu-latest @ Go 1.22
The job was canceled because "macos-latest___Library_Ca" failed.
ubuntu-latest @ Go 1.22
The operation was canceled.
ubuntu-latest @ Go 1.20
The job was canceled because "macos-latest___Library_Ca" failed.
ubuntu-latest @ Go 1.20
The operation was canceled.
ubuntu-latest @ Go 1.21
The job was canceled because "macos-latest___Library_Ca" failed.
ubuntu-latest @ Go 1.21
The operation was canceled.
lint: example/main.go#L6
import 'github.com/gin-contrib/rollbar' is not allowed from list 'Main' (depguard)
lint: example/main.go#L7
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
lint: example/main.go#L9
import 'github.com/rollbar/rollbar-go' is not allowed from list 'Main' (depguard)
lint: recovey.go#L10
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
lint: recovey.go#L11
import 'github.com/rollbar/rollbar-go' is not allowed from list 'Main' (depguard)
lint: recovery_test.go#L8
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
lint: recovery_test.go#L9
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint
issues found
ubuntu-latest @ Go 1.22
Restore cache failed: Dependencies file is not found in /home/runner/work/rollbar/rollbar. Supported file pattern: go.sum
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/rollbar/rollbar. Supported file pattern: go.sum
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/rollbar/rollbar. Supported file pattern: go.sum