Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Go #8

Merged
merged 4 commits into from
Aug 13, 2024
Merged

Upgrade Go #8

merged 4 commits into from
Aug 13, 2024

Conversation

roman-khimov
Copy link
Member

This code is almost perfect, there is nothing to improve.

roman-khimov and others added 4 commits August 9, 2024 21:24
Fixes #2. Follows version policy change in nspcc-dev/.github#30.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This fixes
```
$ golangci-lint --version
golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
$ golangci-lint run ./...
WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats`
```

The configuration file is updated according to
https://golangci-lint.run/usage/configuration/.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
According to https://golangci-lint.run/usage/linters/#govet,
`check-shadowing` no longer exists. Now it should be
```yaml
govet:
  disable: [shadow]
```
but `shadow` is disabled by default. Thus, whole `govet` section is not
needed anymore.

```
$ golangci-lint --version
golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
```

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.25%. Comparing base (4fd1642) to head (0d1e869).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   91.25%   91.25%           
=======================================
  Files           3        3           
  Lines          80       80           
=======================================
  Hits           73       73           
  Misses          4        4           
  Partials        3        3           

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

@roman-khimov roman-khimov merged commit 10465ed into master Aug 13, 2024
10 checks passed
@roman-khimov roman-khimov deleted the up-go branch August 13, 2024 19:39
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.

4 participants