Skip to content

build: remove unused variables and add build constraints for go1.10 a… #100

build: remove unused variables and add build constraints for go1.10 a…

build: remove unused variables and add build constraints for go1.10 a… #100

Triggered via push October 10, 2023 00:00
Status Failure
Total duration 38s
Artifacts

lint.yml

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

Annotations

9 errors and 4 warnings
ubuntu-latest @ Go 1.18: mongo/mongodriver/mongodriver.go#L9
cannot use (*store)(nil) (value of type *store) as "github.com/gin-contrib/sessions".Store value in variable declaration: *store does not implement "github.com/gin-contrib/sessions".Store (missing method Get) (typecheck)
ubuntu-latest @ Go 1.18: mongo/mongodriver/mongodriver.go#L12
cannot use &store{…} (value of type *store) as "github.com/gin-contrib/sessions".Store value in return statement: *store does not implement "github.com/gin-contrib/sessions".Store (missing method Get) (typecheck)
ubuntu-latest @ Go 1.18
issues found
ubuntu-latest @ Go 1.19
The job was canceled because "ubuntu-latest_1_18" failed.
ubuntu-latest @ Go 1.19
The operation was canceled.
ubuntu-latest @ Go 1.20
The job was canceled because "ubuntu-latest_1_18" failed.
ubuntu-latest @ Go 1.20
The operation was canceled.
ubuntu-latest @ Go 1.21
The job was canceled because "ubuntu-latest_1_18" failed.
ubuntu-latest @ Go 1.21
The operation was canceled.
ubuntu-latest @ Go 1.18
Restore cache failed: Dependencies file is not found in /home/runner/work/sessions/sessions. Supported file pattern: go.sum
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/sessions/sessions. Supported file pattern: go.sum
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/sessions/sessions. Supported file pattern: go.sum
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/sessions/sessions. Supported file pattern: go.sum