Skip to content

Update index.js

Update index.js #3415

Triggered via push September 26, 2023 12:44
Status Failure
Total duration 2m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: pkg/utils/downloadResource.go#L92
response body must be closed (bodyclose)
lint: pkg/utils/downloadResource.go#L265
response body must be closed (bodyclose)
lint: pkg/utils/downloadResource.go#L254
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
lint: pkg/utils/probes/probe.go#L46
executeProbe - result 0 (bool) is never used (unparam)
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
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/