Skip to content

add sanity check to some api methods. #3554

add sanity check to some api methods.

add sanity check to some api methods. #3554

Triggered via push November 1, 2023 16:38
Status Failure
Total duration 2m 6s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: pkg/dia/scraper/exchange-scrapers/BitstampScraper.go#L242
Error return value of `resp.Body.Close` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/MEXCScraper.go#L270
Error return value of `response.Body.Close` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/MultichainScraper.go#L373
Error return value of `s.relDB.InsertAssetMap` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/OrcaScraper.go#L94
Error return value of `s.RestClient.Close` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/OrcaScraper.go#L388
Error return value of `d.Decode` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/OsmosisScraper.go#L149
Error return value of `s.Start` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/OsmosisScraper.go#L167
Error return value of `s.wsClient.Stop` is not checked (errcheck)
lint: pkg/dia/scraper/exchange-scrapers/ZenlinkScraper.go#L128
Error return value of `cmd.Wait` is not checked (errcheck)
lint: pkg/dia/scraper/liquidity-scrapers/OsmosisScraper.go#L119
Error return value of `s.grpcClient.grpcConn.Close` is not checked (errcheck)
lint: pkg/dia/scraper/liquidity-scrapers/OsmosisScraper.go#L218
Error return value of `grpcConn.Close` is not checked (errcheck)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/