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

[Issue #984] fix lint issues, update golangci-lint and action versions #993

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

tomqin93
Copy link
Contributor

@tomqin93 tomqin93 commented Oct 1, 2024

What this PR does / why we need it:
This PR fixes golangci lint failing issue in #984
Will this PR make the community happier?
Yes
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #984

How is this PR tested

  • unit test
  • e2e test
  • other (please specify)

Special notes for your reviewer:

Release note:

- fix lint issues in Shifu
- update Checkout action to v4
- update setup-go action to v5
- update golangci-lint action to v6
- use 1.22.7 for plc4x image building
- added in godebug env for telemetry service building

Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.63%. Comparing base (390b47b) to head (7f690a3).
Report is 35 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #993      +/-   ##
==========================================
+ Coverage   37.55%   37.63%   +0.07%     
==========================================
  Files          46       46              
  Lines        3560     2976     -584     
==========================================
- Hits         1337     1120     -217     
+ Misses       2108     1737     -371     
- Partials      115      119       +4     

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

@tomqin93
Copy link
Contributor Author

tomqin93 commented Oct 1, 2024

PLC4x building issue please refer to golang/go#68976

@tomqin93
Copy link
Contributor Author

tomqin93 commented Oct 1, 2024

mssql with go 1.23.1 issue please refer to microsoft/mssql-docker#895

upgrade codecov action to v4, add token, disable failing error

newline

add in sleep for sqlserver

let sqlserver run on host for test, fix small typo

fix typo, fix sqlserver tag

add SQL Server TrustServerCertificate option

encryption disable for sqlserver

remove encryption

revert sqlserver image

cleanup services before starting the next one in telemetryservice test

remove other telemetry tests

revert changes, put sql server test to the top

add godebug to handle negative serialnumber tls by sqlserver docker image

revert orders, use 1.22.7 for plc4x base image

revert plc4x image
@tomqin93 tomqin93 force-pushed the issue_984_golangci-lint-fix branch from 192a18c to 10d482b Compare October 1, 2024 12:55
@tomqin93 tomqin93 merged commit 161b8f0 into main Oct 1, 2024
15 checks passed
@tomqin93 tomqin93 deleted the issue_984_golangci-lint-fix branch October 1, 2024 13:49
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.

Golang ci-lint failing in main
3 participants