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

Updated linting #46

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Updated linting #46

merged 2 commits into from
Dec 5, 2023

Conversation

fredbi
Copy link
Member

@fredbi fredbi commented Dec 4, 2023

  • updated golangci lint rules
  • updated github actions
  • updated dependencies
  • fixed dead links/badges in README
  • relinted (tests and docstrings)
  • removed unexecuted integration tests

* updated golangci lint rules
* updated github actions
* update required go version to go 1.19, in line with other go-openapi
  packages
* updated dependencies
* adapted YAMLToJSON tests to yaml/v3 (with new version of
  go-openapi/swag)
* fixed dead links/badges in README
* relinted (tests and docstrings)
* removed unexecuted integration tests

Signed-off-by: Frederic BIDON <[email protected]>
)

func TestPathLoaderIssue(t *testing.T) {
swaggerFile := "fixtures/json/resources/pathLoaderIssue.json"
Copy link
Member

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

@youyuanwu
Integration tests are not executed by CI, so this is essentially almost dead code.
The maintainance of the dependencies for this separate module is going to be a pain on the long run.
I believe we have better ways with Github actions to run intgration tests without adding cross-dependencies like this. Working on that part.

Signed-off-by: Frederic BIDON <[email protected]>
@fredbi fredbi merged commit 8dae707 into go-openapi:master Dec 5, 2023
8 checks passed
@fredbi fredbi deleted the chore/linting branch December 5, 2023 09:03
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.

None yet

2 participants