Title: ROX-34147: Add setup-go to all unit test jobs to prevent version mismatch by janisz · Pull Request #20833 · stackrox/stackrox · GitHub
Open Graph Title: ROX-34147: Add setup-go to all unit test jobs to prevent version mismatch by janisz · Pull Request #20833 · stackrox/stackrox
X Title: ROX-34147: Add setup-go to all unit test jobs to prevent version mismatch by janisz · Pull Request #20833 · stackrox/stackrox
Description: Description It looks like go test call is not working well with a toolchain and causes following errors when required go.mod version is different than one available in the container. To prevent this let's add setup-go to enforce installation of version declared in go.mod and not rely on toolchain at all. This will allow us to bump go version in a single commit. The nongroovy and other tests are not affected as they invoke tests differently, first build test binary and then run it. # internal/goarch compile: version "go1.25.8" does not match go tool version "go1.25.7" # internal/unsafeheader ... #20824 https://github.com/stackrox/stackrox/actions/runs/26523197168/job/78119699369?pr=20824 User-facing documentation CHANGELOG.md is updated OR update is not needed documentation PR is created and is linked above OR is not needed Testing and quality the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag CI results are inspected Automated testing added unit tests added e2e tests added regression tests added compatibility tests modified existing tests How I validated my change CI
Open Graph Description: Description It looks like go test call is not working well with a toolchain and causes following errors when required go.mod version is different than one available in the container. To prevent thi...
X Description: Description It looks like go test call is not working well with a toolchain and causes following errors when required go.mod version is different than one available in the container. To prevent thi...
Opengraph URL: https://github.com/stackrox/stackrox/pull/20833
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5499c929-ad89-dfe7-ce95-05c3adb86192 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E2E:3FE776:BB163:14A36C:6A4DC47C |
| html-safe-nonce | fa44bb9b73564b770d889e2eebe3952f4d6f79413f9e6e7bb6c42d7aa7f92eda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTJFOjNGRTc3NjpCQjE2MzoxNEEzNkM6NkE0REM0N0MiLCJ2aXNpdG9yX2lkIjoiNTI2NjY0MzQ4NDYwMTU5OTEwMCIsInJlZ2lvbl9lZGdlIjoid2VzdHVzMiIsInJlZ2lvbl9yZW5kZXIiOiJ3ZXN0dXMyIn0= |
| visitor-hmac | 57de26f78ad98e09bc95f0636d6c7f8f553532e98fb133e9e2b61eb133cd0e5d |
| hovercard-subject-tag | pull_request:3756932355 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/stackrox/stackrox/pull/20833/files |
| twitter:image | https://avatars.githubusercontent.com/u/1616386?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1616386?s=400&v=4 |
| og:image:alt | Description It looks like go test call is not working well with a toolchain and causes following errors when required go.mod version is different than one available in the container. To prevent thi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git |
| octolytics-dimension-user_id | 40638982 |
| octolytics-dimension-user_login | stackrox |
| octolytics-dimension-repository_id | 434017296 |
| octolytics-dimension-repository_nwo | stackrox/stackrox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 434017296 |
| octolytics-dimension-repository_network_root_nwo | stackrox/stackrox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width