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

action: Clean up the logic to handle go-mod-directory #2956

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

michi-covalent
Copy link
Contributor

  • Partially revert commit cc1a61d 1 since Cilium updated the Go version to 1.24 in main branch 2.
  • Change the default go-mod-directory to the top-level directory to match the current code structure in cilium/cilium where go.mod file is only in the top-level directory.
  • Set setup-go cache-dependency-path parameter to '**/go.sum' so that caching works regardless of how go-mod-directory parameter is set.

Footnotes

  1. https://github.com/cilium/cilium-cli/pull/2871

  2. https://github.com/cilium/cilium/pull/37852

- Partially revert commit cc1a61d [^1] since Cilium updated the Go
  version to 1.24 in main branch [^2].
- Change the default go-mod-directory to the top-level directory to
  match the current code structure in cilium/cilium where go.mod file
  is only in the top-level directory.
- Set setup-go cache-dependency-path parameter to '**/go.sum' so that
  caching works regardless of how go-mod-directory parameter is set.

[^1]: #2871
[^2]: cilium/cilium#37852

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent michi-covalent force-pushed the pr/michi/partial-revert branch from 6a150b8 to a0ab6a4 Compare February 28, 2025 02:15
@michi-covalent michi-covalent marked this pull request as ready for review February 28, 2025 06:02
@michi-covalent michi-covalent requested a review from a team as a code owner February 28, 2025 06:02
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 28, 2025
@michi-covalent michi-covalent merged commit 5f37277 into main Feb 28, 2025
12 checks passed
@michi-covalent michi-covalent deleted the pr/michi/partial-revert branch February 28, 2025 06:51
michi-covalent added a commit that referenced this pull request Feb 28, 2025
Bumping up the minor version to indicate that there is a behavior change
in cilium-cli GitHub Action [^1].

[^1]: #2956

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent added a commit that referenced this pull request Feb 28, 2025
Bumping up the minor version to indicate that there is a behavior change
in cilium-cli GitHub Action [^1].

[^1]: #2956

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent added a commit that referenced this pull request Mar 1, 2025
Bumping up the minor version to indicate that there is a behavior change
in cilium-cli GitHub Action [^1].

[^1]: #2956

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent added a commit that referenced this pull request Mar 1, 2025
Bumping up the minor version to indicate that there is a behavior change
in cilium-cli GitHub Action [^1].

[^1]: #2956

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants