Skip to content

dev: prepare CI for v2 #5423

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

Merged
merged 1 commit into from
Feb 17, 2025
Merged

dev: prepare CI for v2 #5423

merged 1 commit into from
Feb 17, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Feb 16, 2025

Most feedback about go1.24/golangci-lint v1.64 is done, so it's time to move forward.

Instead of creating a branch v2, we will use a branch main.

There are several advantages:

  • when the v2 is ready we will not have to merge the branch into master, we will just switch the default branch
  • main is now standard: this is the git and GitHub default.
  • a major version is the best moment to break things
  • fixes Rename default branch to "main" #4866
  • the branch master is still the default, so we can release v1 bug fixes.

Note: the branch master will not be deleted to avoid breaking old GitHub actions, I will just create a ruleset that blocks any updates of this branch.

The PR mainly disabled the publication of the doc for the branch main, and updated the documentation.

I will merge the other PRs after the merge of this one.

@ldez ldez added the area: ci PR that update CI label Feb 16, 2025
@ldez ldez added this to the v2 milestone Feb 16, 2025
@ldez ldez requested review from alexandear and bombsimon February 16, 2025 21:43
@ldez ldez modified the milestones: v2, v2-unreleased Feb 16, 2025
@ldez ldez merged commit 48ab0d1 into golangci:main Feb 17, 2025
18 checks passed
@ldez ldez deleted the feat/main-v2 branch February 17, 2025 12:21
@busser busser mentioned this pull request Mar 14, 2025
Closed
@ldez ldez modified the milestones: v2-unreleased, v2 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ci PR that update CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename default branch to "main"
2 participants