diff --git a/.circleci/config.yml b/.circleci/config.yml index a3b83f6c..f1aa3b0a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,12 +9,12 @@ parameters: # override it in any parameterized builds, but just as a convenient shareable constant. go-release-version: type: string - default: "1.20.2" + default: "1.20.4" # In addition to the most recent version of Go, we also support the previous version. go-previous-version: type: string - default: "1.19.7" + default: "1.19.9" # We use a remote Docker host in some CI jobs that need to run Docker containers. # As of 2022-04-15, the default Docker daemon version was 17.09.0-ce, which started diff --git a/.github/ISSUE_TEMPLATE/update_go_versions.md b/.github/ISSUE_TEMPLATE/update_go_versions.md index 6f77fb7d..e6dd6682 100644 --- a/.github/ISSUE_TEMPLATE/update_go_versions.md +++ b/.github/ISSUE_TEMPLATE/update_go_versions.md @@ -8,10 +8,10 @@ It's time to update Relay's supported Go versions, due to a recent upstream Go r The Go major release cadence is ~every 6 months; the two most recent major versions are supported. Note that between major releases, the Go team often ships multiple minor versions. -| | Current repo configuration | Desired repo configuration | -|-------------|------------------------------------|----------------------------------------| -| Latest | {{ env.RELAY_LATEST_VERSION}} | {{ env.OFFICIAL_LATEST_VERSION }} | -| Penultimate | {{ env.RELAY_PENULTIMATE_VERSION}} | {{ env.OFFICIAL_PENULTIMATE_VERSION }} | +| | Current repo configuration | Desired repo configuration | +|-------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| Latest | {{ env.RELAY_LATEST_VERSION}} | [{{ env.OFFICIAL_LATEST_VERSION }}](https://go.dev/doc/devel/release#go{{ env.OFFICIAL_LATEST_VERSION }}) | +| Penultimate | {{ env.RELAY_PENULTIMATE_VERSION}} | [{{ env.OFFICIAL_PENULTIMATE_VERSION }}](https://go.dev/doc/devel/release#go{{ env.OFFICIAL_PENULTIMATE_VERSION }}) | diff --git a/.github/workflows/check-go-versions.yml b/.github/workflows/check-go-versions.yml index 28b0a39c..28ee7082 100644 --- a/.github/workflows/check-go-versions.yml +++ b/.github/workflows/check-go-versions.yml @@ -16,8 +16,6 @@ jobs: issues: write contents: read runs-on: ubuntu-latest - env: - force_create_issue: ${{ github.event.inputs.force_create_issue }} timeout-minutes: 2 steps: - uses: actions/checkout@v1 @@ -49,7 +47,7 @@ jobs: # If the latest official Go version is different from Relay's release version, generate an issue # with useful details. - name: Create issue if update required - if: env.force_create_issue == true || (steps.relay-latest-version.outputs.result != env.officialLatestVersion) + if: github.event.inputs.force_create_issue || (steps.relay-latest-version.outputs.result != env.officialLatestVersion) uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.ldrelease/config.yml b/.ldrelease/config.yml index df883394..172b294f 100644 --- a/.ldrelease/config.yml +++ b/.ldrelease/config.yml @@ -38,7 +38,7 @@ repo: jobs: - docker: - image: cimg/go:1.20.2 # See "Runtime platform versions" in CONTRIBUTING.md + image: cimg/go:1.20.4 # See "Runtime platform versions" in CONTRIBUTING.md copyGitHistory: true template: name: go diff --git a/Dockerfile b/Dockerfile index 612e697f..ec5a2558 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This is a standalone Dockerfile that does not depend on goreleaser building the binary # It is NOT the version that is pushed to dockerhub -FROM golang:1.20.2-alpine3.17 as builder +FROM golang:1.20.4-alpine3.17 as builder # See "Runtime platform versions" in CONTRIBUTING.md RUN apk --no-cache add \