Skip to content

scripts: fix go.mod file#4008

Merged
roman-khimov merged 1 commit intomasterfrom
fix-scripts-lint
Sep 12, 2025
Merged

scripts: fix go.mod file#4008
roman-khimov merged 1 commit intomasterfrom
fix-scripts-lint

Conversation

@AnnaShaleva
Copy link
Copy Markdown
Member

@AnnaShaleva AnnaShaleva commented Sep 12, 2025

Fix linter error introduced by #4006:

run golangci-lint
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint config path --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint config verify --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint run --path-prefix=scripts --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildssa: failed to load package rpcclient: could not load export data: no export data for \"github.com/nspcc-dev/neo-go/pkg/rpcclient\""
  level=error msg="Running error: can't run linter goanalysis_metalinter\nbuildssa: failed to load package rpcclient: could not load export data: no export data for \"github.com/nspcc-dev/neo-go/pkg/rpcclient\""

Upgrade NeoGo used by examples along with it.

Fix linter error introduced by #4006:
```
run golangci-lint
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint config path --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint config verify --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  Running [/home/runner/golangci-lint-1.64.8-linux-amd64/golangci-lint run --path-prefix=scripts --config=/home/runner/work/neo-go/neo-go/nspcc-gh/.golangci.yml] in [/home/runner/work/neo-go/neo-go/scripts] ...
  level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildssa: failed to load package rpcclient: could not load export data: no export data for \"github.com/nspcc-dev/neo-go/pkg/rpcclient\""
  level=error msg="Running error: can't run linter goanalysis_metalinter\nbuildssa: failed to load package rpcclient: could not load export data: no export data for \"github.com/nspcc-dev/neo-go/pkg/rpcclient\""
```

Upgrade NeoGo used by examples along with it.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.05%. Comparing base (aa0fd56) to head (9cbe3ab).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4008      +/-   ##
==========================================
+ Coverage   82.00%   82.05%   +0.04%     
==========================================
  Files         350      350              
  Lines       49889    49889              
==========================================
+ Hits        40912    40935      +23     
+ Misses       7248     7222      -26     
- Partials     1729     1732       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a thought that something might break in interops, but didn't notice any problems in CI.

@roman-khimov roman-khimov merged commit 01aab78 into master Sep 12, 2025
34 checks passed
@roman-khimov roman-khimov deleted the fix-scripts-lint branch September 12, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants