Skip to content

fix clock type

fix clock type #86

Triggered via pull request September 13, 2024 07:34
Status Failure
Total duration 1m 30s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
1m 21s
Run golangci-lint
Run markdown-lint
20s
Run markdown-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Run golangci-lint: internal/handler/disputeGame.go#L106
cannot use data.Clock.Int64() (value of type int64) as string value in struct literal
Run golangci-lint: internal/handler/disputeGame.go#L185
cannot use claimData.Clock.Int64() (value of type int64) as string value in struct literal (typecheck)
Run golangci-lint: main.go#L9
could not import github.com/optimism-java/dispute-explorer/internal/handler (-: # github.com/optimism-java/dispute-explorer/internal/handler
Run golangci-lint: internal/handler/disputeGame.go#L106
cannot use data.Clock.Int64() (value of type int64) as string value in struct literal
Run golangci-lint: internal/handler/disputeGame.go#L185
cannot use claimData.Clock.Int64() (value of type int64) as string value in struct literal) (typecheck)
Run golangci-lint
issues found
Run markdown-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, technote-space/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, technote-space/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/dispute-explorer/dispute-explorer. Supported file pattern: go.sum