Skip to content

chore: cumulative CI improvements - #454

Draft
fernandezcuesta wants to merge 1 commit into
masterfrom
chore/ci-improvements
Draft

fernandezcuesta wants to merge 1 commit into
masterfrom
chore/ci-improvements

Conversation

@fernandezcuesta

@fernandezcuesta fernandezcuesta commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Description of your changes

Placeholder for cumulative CI fixes that we find while fixing other stuff.

  • Bump up runners to ubuntu-26
  • Decouple CI from go version, let the action read which version to install from go.mod directly

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

n/a
[contribution process]: https://git.io/fj2m9

Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
@fernandezcuesta fernandezcuesta changed the title chore: bump up runners and decouple CI from go version chore: cumulative CI improvements Sep 8, 2026
description: "Version string to use while publishing the package (e.g. v1.0.0-alpha.1)"
default: ""
required: false
go-version:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this input is gone, but the job below still passes go-version: ${{ github.event.inputs.go-version }} — I think that resolves to empty now. publish-provider-non-family.yml has default: '1.22', so the release build either gets an empty version or 1.22, and go.mod needs 1.26.

That workflow doesn't read go.mod either, so we can't decouple this one the same way — should we keep passing it explicitly here, or pin it in the reusable call? Or suggest version file as an option upstream?

Comment thread .github/workflows/tag.yml
jobs:
create-tag:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ok I will change to ubuntu-latest. Puzzled that an LTS which is almost half a year stable is still a preview...

with:
repository: provider-sql
version: ${{ github.event.inputs.version }}
go-version: ${{ github.event.inputs.go-version }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

here

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Oh you're right, I'll fix that

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.

2 participants