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

Trim down tools.go usage #2072

Merged
merged 9 commits into from
Aug 21, 2023
Merged

Trim down tools.go usage #2072

merged 9 commits into from
Aug 21, 2023

Conversation

silvestre
Copy link
Member

  • Trim down tools.go usage
    tools.go should only import packages that are used when running go
    generate and not be used as a generic tool installer, for that we use
    .tool-versions and the Nix flake.
  • Remove generated fakes
  • Fix lint target
  • Update go:build statements

@silvestre silvestre added chore allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. labels Aug 18, 2023
`tools.go` should only import packages that are used when running go
generate and not be used as a generic tool installer, for that we use
`.tool-versions` and the Nix flake.
and fix/ignore found issues
some where even missing their generate statement
Generating all fakes at once seems to compound some memory leak.
Memory usage goes from 1GiB to 17GiB, which does not work on GitHub
hosted runners.
@sonarcloud
Copy link

sonarcloud bot commented Aug 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@silvestre silvestre merged commit 0bffa3e into main Aug 21, 2023
38 checks passed
@silvestre silvestre deleted the deps branch August 21, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants