Skip to content

Interceptors

Interceptors #282

Triggered via pull request February 22, 2024 07:55
Status Failure
Total duration 2m 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Test: examples/echo-bot/main.go#L62
cannot use 3 (untyped int constant) as tg.RetryFloodErrorOption value in argument to tg.NewRetryFloodErrorInterceptor
Test: examples/echo-bot/main.go#L62
cannot use 30 * time.Second (constant 30000000000 of type time.Duration) as type tg.RetryFloodErrorOption in argument to tg.NewRetryFloodErrorInterceptor
Test: examples/echo-bot/main.go#L63
cannot use 10 (untyped int constant) as tg.RetryInternalServerErrorOption value in argument to tg.NewRetryInternalServerErrorInterceptor
Test: examples/echo-bot/main.go#L63
cannot use 5 * time.Second (constant 5000000000 of type time.Duration) as type tg.RetryInternalServerErrorOption in argument to tg.NewRetryInternalServerErrorInterceptor
Test
Process completed with exit code 2.
Go Tidy
Restore cache failed: Dependencies file is not found in /home/runner/work/go-tg/go-tg. Supported file pattern: go.sum
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/go-tg/go-tg. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-tg/go-tg. Supported file pattern: go.sum