Skip to content

chore: update Go to 1.20.5 #7877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- uses: buildjet/setup-go@v4
with:
cache: true
go-version: "~1.20"
go-version: "1.20.5"
- name: Install gotestsum
uses: jaxxstorm/action-install-gh-release@v1.10.0
with:
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
- "v*"
workflow_dispatch:
inputs:
go_version:
description: "Go version to use for building."
required: false
default: "1.20.4"
dry_run:
description: Perform a dry-run release (devel). Note that ref must be an annotated tag when run without dry-run.
type: boolean
Expand All @@ -35,7 +31,7 @@ env:
# For some reason, setup-go won't actually pick up a new patch version if
# it has an old one cached. We need to manually specify the versions so we
# can get the latest release. Never use "~1.xx" here!
CODER_GO_VERSION: "1.20.4"
CODER_GO_VERSION: "1.20.5"

jobs:
release:
Expand Down Expand Up @@ -98,10 +94,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
cache: true
- uses: ./.github/actions/setup-go

- name: Cache Node
id: cache-node
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
CODER_GO_VERSION: "1.20.4"
CODER_GO_VERSION: "1.20.5"

jobs:
codeql:
Expand All @@ -32,10 +32,7 @@ jobs:
with:
languages: go, javascript

- name: Setup Go
uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
- uses: ./.github/actions/setup-go

# Workaround to prevent CodeQL from building the dashboard.
- name: Remove Makefile
Expand Down Expand Up @@ -63,10 +60,7 @@ jobs:
with:
fetch-depth: 0

- uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
cache: true
- uses: ./.github/actions/setup-go

- name: Cache Node
id: cache-node
Expand Down
2 changes: 1 addition & 1 deletion dogfood/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM ubuntu:jammy AS go

RUN apt-get update && apt-get install --yes curl gcc
# Install Go manually, so that we can control the version
ARG GO_VERSION=1.20.4
ARG GO_VERSION=1.20.5
RUN mkdir --parents /usr/local/go

# Boring Go is needed to build FIPS-compliant binaries.
Expand Down