mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: upgrade go to 1.20.7 (#8923)
* chore: upgrade go to 1.20.7 * remove unused env
This commit is contained in:
committed by
GitHub
parent
bac3a588b3
commit
31b7de6a3e
2
.github/actions/setup-go/action.yaml
vendored
2
.github/actions/setup-go/action.yaml
vendored
@ -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:
|
||||
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -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:
|
||||
|
3
.github/workflows/security.yaml
vendored
3
.github/workflows/security.yaml
vendored
@ -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' }}
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user