Skip to content

Set golangi-lint cache directory#6610

Merged
twz123 merged 1 commit intok0sproject:mainfrom
twz123:fix-osx-lint-ci
Nov 7, 2025
Merged

Set golangi-lint cache directory#6610
twz123 merged 1 commit intok0sproject:mainfrom
twz123:fix-osx-lint-ci

Conversation

@twz123
Copy link
Copy Markdown
Member

@twz123 twz123 commented Nov 6, 2025

Description

Pin the golangci-lint directory into the K0S_GO_BUILD_CACHE folder. This is analogous to what is done for Go, and fixes a regression in the GitHub Actions workflow.

Fixes:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual test
  • Auto test added

Checklist

  • My code follows the style guidelines of this project
  • My commit messages are signed-off
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
Pin the golangci-lint directory into the K0S_GO_BUILD_CACHE folder.
This is analogous to what is done for Go, and fixes a regression in the
GitHub Actions workflow.

Fixes: 5d8587e ("Manually prune old entries from Go cache")
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
@twz123 twz123 added bug Something isn't working area/ci backport/release-1.34 PR that needs to be backported/cherrypicked to the release-1.34 branch labels Nov 6, 2025
@twz123 twz123 marked this pull request as ready for review November 7, 2025 07:25
@twz123 twz123 requested review from a team as code owners November 7, 2025 07:25
@twz123 twz123 merged commit 220ee86 into k0sproject:main Nov 7, 2025
302 of 305 checks passed
@twz123 twz123 deleted the fix-osx-lint-ci branch November 7, 2025 10:31
@k0s-bot
Copy link
Copy Markdown
Contributor

k0s-bot commented Nov 7, 2025

Successfully created backport PR for release-1.34:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci backport/release-1.34 PR that needs to be backported/cherrypicked to the release-1.34 branch bug Something isn't working

3 participants