From 5f5049ed0655c129952b185eb5248690cb75fa61 Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Tue, 18 Apr 2023 12:16:31 -0700 Subject: [PATCH] chore: update to go 1.20 (#1124) Signed-off-by: Anish Ramasekar --- .devcontainer/Dockerfile | 2 +- .github/workflows/cover.yaml | 2 +- .golangci.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9001f9ce9..a99347857 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,7 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. #------------------------------------------------------------------------------------------------------------- -FROM golang:1.19 +FROM golang:1.20 # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive diff --git a/.github/workflows/cover.yaml b/.github/workflows/cover.yaml index 71a29d6ab..41e15d996 100644 --- a/.github/workflows/cover.yaml +++ b/.github/workflows/cover.yaml @@ -16,7 +16,7 @@ jobs: # pinning to the sha 331ce1d993939866bb63c32c6cbbfd48fa76fc57 from https://github.com/actions/setup-go/releases/tag/v2.1.4 - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: "^1.19" + go-version: "^1.20" - name: Unit test run: make unit-test # pinning to the sha f32b3a3741e1053eb607407145bc9619351dc93b from https://github.com/codecov/codecov-action/releases/tag/v2.1.0 diff --git a/.golangci.yml b/.golangci.yml index f9a8e536c..35206bc05 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,6 @@ run: timeout: 5m - skip-dirs: [] - skip-files: [] + go: '1.20' linters: disable-all: true