chore: upgrade go to 1.20.7 (#8923)

* chore: upgrade go to 1.20.7

* remove unused env
This commit is contained in:
Muhammad Atif Ali
2023-08-08 09:20:36 +03:00
committed by GitHub
parent bac3a588b3
commit 31b7de6a3e
5 changed files with 3 additions and 10 deletions

View File

@ -4,7 +4,7 @@ description: |
inputs:
version:
description: "The Go version to use."
default: "1.20.6"
default: "1.20.7"
runs:
using: "composite"
steps:

View File

@ -224,7 +224,7 @@ jobs:
with:
# This doesn't need caching. It's super fast anyways!
cache: false
go-version: 1.20.6
go-version: 1.20.7
- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.5.0

View File

@ -28,10 +28,6 @@ env:
# https://github.blog/changelog/2022-06-10-github-actions-inputs-unified-across-manual-and-reusable-workflows/
CODER_RELEASE: ${{ !inputs.dry_run }}
CODER_DRY_RUN: ${{ inputs.dry_run }}
# 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.6"
jobs:
release:

View File

@ -21,9 +21,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-security
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
CODER_GO_VERSION: "1.20.6"
jobs:
codeql:
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}

View File

@ -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.6
ARG GO_VERSION=1.20.7
RUN mkdir --parents /usr/local/go
# Boring Go is needed to build FIPS-compliant binaries.