Repository navigation
Conversation
|
Thanks!! There's some Go version pinning in the test workflow too: https://github.com/osbuild/images/blob/a33dc725f80ea75d08f86f52abcbd53f2186b0ce/.github/workflows/tests.yml Annoying, I know. Having a single place where it's defined where all sources could read it would be nice, but I don't know if parsing the go.mod or something similar is the nicest way to do it. |
I thought about this in the past and I have two ideas:
|
I suppose reading from the go.mod is best since that's the one authoritative source of truth. |
fe41e96 to
694589f
Compare
Oh, this is perfect! Nice!! |
|
Had to put setup-go after checkout, obviously it needs |
ffe2656 to
8d53214
Compare
|
So "Unit tests" actions were completely missing |
9eda644 to
b0c58fb
Compare
|
Just realized we need to keep the Go version as low as the oldest supported OS, Go was only updated to 1.23 in UBI9 but not in RHEL9 so I guess this is a dead end for me for now. |
|
Wait COS9 has Go 1.23 is it is just Fedora I assume. |
|
I will rebase this once we remove F40. Does anyone know what this error message is: |
|
So to sum it up:
So the final Go version will be: Go 1.23.1 🎉 |
|
So we keep this open until we're ready to drop F40? |
Looks like a plan, converted to draft for the time being. |
|
This PR is stale because it had no activity for the past 30 days. Remove the "Stale" label or add a comment, otherwise this PR will be closed in 7 days. |
|
Closing for now until we get rid of F40. |
Relaxing pinned Go version to 1.23.6 which is the latest release which has been recently added into UBI9:
https://catalog.redhat.com/software/containers/ubi9/go-toolset/61e5c00b4ec9945c18787690?architecture=amd64&image=67f7e5d0639042b2fe77b475&container-tabs=gti>i-tabs=registry-tokens
Then I used the gobump tool to upgrade as many dependencies as possible but keep the Go to the pinned version:
https://github.com/lzap/gobump