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

Reproduce linting checks from the main repo #121

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

danish9039
Copy link

Which problem is this PR solving?

Description of the changes

  • Reproduce linting checks from the main repo to jaeger-idl repo

How was this change tested?

Checklist

.github/workflows/ci-lint-test.yml Show resolved Hide resolved

- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
lint:
needs: setup-scripts
Copy link
Member

Choose a reason for hiding this comment

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

needs: means this job will run after setup-scripts, but they do not share the file system

Copy link
Member

Choose a reason for hiding this comment

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

how is this resolved? It's not going to work.

Copy link
Member

Choose a reason for hiding this comment

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

?

.github/workflows/ci-lint-test.yml Outdated Show resolved Hide resolved
.github/workflows/ci-lint-test.yml Outdated Show resolved Hide resolved
.github/workflows/ci-lint-test.yml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
internal/tools/empty.go Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Signed-off-by: danish9039 <[email protected]>
@danish9039
Copy link
Author

danish9039 commented Jan 23, 2025

Screenshot from 2025-01-23 17-43-08
after running make lint-go i encountered these error , most probably caused by last pr in idl repo where files were added into model/v1
@yurishkuro do i need to fix these lint-go errors , otherwise lint checks wont pass success fully ?

@yurishkuro
Copy link
Member

why are we not getting these errors in jaeger repo?

@danish9039
Copy link
Author

why are we not getting these errors in jaeger repo?

because main jaeger repo uses .golangci.yaml in which errorcheck is disabled
image

@yurishkuro
Copy link
Member

the objective was to use the same settings as the main repo

danish9039 and others added 3 commits January 24, 2025 17:08
Signed-off-by: danish9039 <[email protected]>
.
Signed-off-by: danish9039 <[email protected]>
go.mod Outdated Show resolved Hide resolved
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