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

fix: Improve linting perf via caching #5900

Merged
merged 20 commits into from Dec 22, 2022

Conversation

bbernays
Copy link
Collaborator

Summary

@cq-bot cq-bot added the aws label Dec 21, 2022
@vercel
Copy link

vercel bot commented Dec 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cloudquery-web 🔄 Building (Inspect) Dec 22, 2022 at 3:58PM (UTC)

@cq-bot cq-bot removed the aws label Dec 21, 2022
@cq-bot cq-bot added the aws label Dec 21, 2022
@bbernays bbernays changed the title fix: linting perf fix: Improve linting perf via caching Dec 21, 2022
@cq-bot cq-bot removed the aws label Dec 21, 2022
@bbernays
Copy link
Collaborator Author

I have opened a PR with this functionality in the golangci-lint-action repo... Once that PR is merged we can go back to using that instead of bbernays/golangci-lint-action

Link to upstream PR

@@ -54,7 +54,7 @@ jobs:
cache: true
cache-dependency-path: plugins/source/aws/go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: bbernays/golangci-lint-action@58bce521b66ed125524e24eeec9522d765a8c2a7
Copy link
Contributor

Choose a reason for hiding this comment

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

I would put the fork under cloudquery/ and also use the branch name directly cloudquery/golangci-lint-action@master so if we follow up with fixes we don't have to update this sha

Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Thanks @bbernays, added a few comments

Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

This looks good, we can follow up with our own forked version later on if they don't accept the fix

@erezrokah erezrokah merged commit a59f2f2 into cloudquery:main Dec 22, 2022
@bbernays bbernays deleted the performance-golangci branch December 22, 2022 18:02
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

3 participants