11name : Check Supported Go Versions
22on :
33 schedule :
4- - cron : " 0 17 * * *"
4+ - cron : " 0 17 * * *"
55 workflow_dispatch :
66
77jobs :
88 check-go-eol :
99 runs-on : ubuntu-latest
1010 outputs :
11- latest : ${{ steps.parse.outputs.latest }}
12- penultimate : ${{ steps.parse.outputs.penultimate }}
11+ latest : ${{ steps.parse.outputs.latest }}
12+ penultimate : ${{ steps.parse.outputs.penultimate }}
1313 timeout-minutes : 2
1414 steps :
1515 - uses : actions/checkout@v4
2828 echo "latest=${{ fromJSON(env.fetch-api-data)[0].latest }}" >> $GITHUB_OUTPUT
2929 echo "penultimate=${{ fromJSON(env.fetch-api-data)[1].latest }}" >> $GITHUB_OUTPUT
3030
31-
3231 create-prs :
3332 permissions :
3433 contents : write
@@ -41,11 +40,11 @@ jobs:
4140 steps :
4241 - uses : actions/checkout@v4
4342 with :
44- ref : v8
43+ ref : v9
4544
4645 - name : Get current Go versions
4746 id : go-versions
48- run : cat ./.github/variables/go-versions.env > $GITHUB_OUTPUT
47+ run : cat ./.github/variables/go-versions.env > $GITHUB_OUTPUT
4948
5049 - name : Run update script
5150 if : steps.go-versions.outputs.latest != env.officialLatestVersion
@@ -69,10 +68,10 @@ jobs:
6968 body : |
7069 It's time to update Relay's supported Go versions, due to a recent upstream Go release.
7170
72- The Go major release cadence is ~every 6 months; the two most recent major versions are supported.
73- Note that between major releases, the Go team often ships multiple minor versions.
74-
75-
71+ The Go major release cadence is ~every 6 months; the two most recent major versions are supported.
72+ Note that between major releases, the Go team often ships multiple minor versions.
73+
74+
7675 | | Current repo configuration | Desired repo configuration |
7776 |-------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------|
7877 | Latest | ${{ steps.go-versions.outputs.latest }} | [${{ env.officialLatestVersion }}](https://go.dev/doc/devel/release#go${{ env.officialLatestVersion }}) |
8382 ```bash
8483 ./scripts/update-go-release-version.sh ${{ env.officialLatestVersion }} ${{ env.officialPenultimateVersion }}
8584 ```
86-
85+
8786 - [ ] I have triggered CI on this PR (either close & reopen this PR in Github UI, or `git commit -m "run ci" --allow-empty && git push`)
0 commit comments