2929 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3030 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
3131 with :
32- go-version : 1.23.10
32+ go-version : oldstable
3333 cache : false
3434 - name : Cache Go
3535 id : go-cache
8585 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8686 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
8787 with :
88- go-version : 1.23.10
88+ go-version : oldstable
8989 cache : false
9090 - name : Cache Go
9191 id : go-cache
@@ -154,7 +154,7 @@ jobs:
154154 - name : Setup Go
155155 uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
156156 with :
157- go-version : 1.23.10
157+ go-version : oldstable
158158 cache : false
159159 - name : Cache Go
160160 id : go-cache
@@ -178,7 +178,7 @@ jobs:
178178 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
179179 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
180180 with :
181- go-version : 1.23.10
181+ go-version : oldstable
182182 cache : false
183183 - name : Cache Go
184184 id : go-cache
@@ -249,7 +249,7 @@ jobs:
249249 strategy :
250250 fail-fast : false
251251 matrix :
252- go-version : ["~1.24", "~1.23"] # 1.20 is interpreted as 1.2 without quotes
252+ go-version : [stable, oldstable]
253253 runner : [ubuntu-24.04]
254254 group :
255255 - receiver-0
@@ -306,24 +306,24 @@ jobs:
306306 # - On main, with the go version that we didn't run the JUnit tests with.
307307 - name : Run Unit Tests
308308 id : tests
309- if : github.ref != 'refs/heads/main' || !startsWith( matrix.go-version, '~1.23 ' )
309+ if : github.ref != 'refs/heads/main' || !startsWith( matrix.go-version, 'oldstable ' )
310310 run : make gotest GROUP=${{ matrix.group }}
311311
312312 # JUnit tests are super long, so we only run them for one go version.
313313 # This is used for automation that automatically creates issues for flaky tests that are
314314 # merged to main, so we don't run them on every PR.
315315 - name : Run Unit Tests With JUnit and Coverage
316316 id : tests-with-junit
317- if : startsWith( matrix.go-version, '~1.23 ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
317+ if : startsWith( matrix.go-version, 'oldstable ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
318318 continue-on-error : true # Allow uploading artifacts even if the test fails
319319 run : make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
320320 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
321- if : startsWith( matrix.go-version, '~1.23 ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
321+ if : startsWith( matrix.go-version, 'oldstable ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
322322 with :
323323 name : coverage-artifacts-${{ matrix.go-version }}-${{ matrix.runner }}-${{ matrix.group }}
324324 path : ${{ matrix.group }}-coverage.txt
325325 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
326- if : startsWith( matrix.go-version, '~1.23 ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
326+ if : startsWith( matrix.go-version, 'oldstable ' ) && github.ref == 'refs/heads/main' && github.event_name == 'push'
327327 with :
328328 name : test-results-${{ matrix.go-version }}-${{ matrix.runner }}-${{ matrix.group }}
329329 path : internal/tools/testresults/
@@ -394,7 +394,7 @@ jobs:
394394 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
395395 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
396396 with :
397- go-version : 1.23.10
397+ go-version : oldstable
398398 cache : false
399399 - name : Cache Go
400400 id : go-cache
@@ -427,7 +427,7 @@ jobs:
427427 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
428428 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
429429 with :
430- go-version : 1.23.10
430+ go-version : oldstable
431431 cache : false
432432 - name : Cache Go
433433 id : go-cache
@@ -471,7 +471,7 @@ jobs:
471471 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
472472 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
473473 with :
474- go-version : 1.23.10
474+ go-version : oldstable
475475 cache : false
476476 - name : Cache Go
477477 id : go-cache
@@ -498,7 +498,7 @@ jobs:
498498 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
499499 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
500500 with :
501- go-version : 1.23.10
501+ go-version : oldstable
502502 cache : false
503503 - name : Cache Go
504504 id : go-cache
@@ -570,7 +570,7 @@ jobs:
570570 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
571571 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
572572 with :
573- go-version : 1.23.10
573+ go-version : oldstable
574574 cache : false
575575 - name : Cache Go
576576 id : go-cache
@@ -620,7 +620,7 @@ jobs:
620620 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
621621 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
622622 with :
623- go-version : 1.23.10
623+ go-version : oldstable
624624 cache : false
625625 - name : Mkdir bin and dist
626626 run : |
@@ -766,7 +766,7 @@ jobs:
766766 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
767767 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
768768 with :
769- go-version : 1.23.10
769+ go-version : oldstable
770770 cache : false
771771 - name : Cache Go
772772 id : go-cache
0 commit comments