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

Revise golangci-lint configuration #1274

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Revise golangci-lint configuration #1274

merged 4 commits into from
Dec 19, 2023

Conversation

alexanderstephan
Copy link
Collaborator

@alexanderstephan alexanderstephan commented Dec 19, 2023

Motivation and Context

Previously, the linter started linting starting from the moving branch HEAD.
Of course, this is always the latest commit, rendering the linter ineffective.

Description

Update the golangci configuration to mitigate this problem. Besides, I remove depguard as it seems a bit over the top.
We now actually only highlight new issues now, i.e., issues that will come on top of dev.
Feel free to run it locally on older changes to find meaningful issues.

Steps for Testing

None. A passing CI should be enough.

Copy link

Your Testserver will be ready at https://1274.test.live.mm.rbg.tum.de in a few minutes.

Logins
Kurs1 Kurs2 Kurs3 Kurs4
public public loggedin enrolled
prof1 prof1 prof2 prof1
prof2
student1
student2
student3
student1
student2
student2
student3
student1
student2

@alexanderstephan
Copy link
Collaborator Author

The issues somehow differ from what I am seeing locally, investigating...

@alexanderstephan
Copy link
Collaborator Author

Works as it should now. 🎉

@kordianbruck kordianbruck merged commit 4ef1319 into dev Dec 19, 2023
8 checks passed
@kordianbruck kordianbruck deleted the lint-fix branch December 19, 2023 20:44
SebiWrn pushed a commit that referenced this pull request May 7, 2024
* Linter fixup and demo

* Configure workflow separately

* Test to break the CI again

* Revert "Test to break the CI again"

This reverts commit 93fd948.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants