From e69449c8242dd27628175174e5b6bd361f190229 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 9 Oct 2023 21:58:17 +1100 Subject: [PATCH] Use go 1.20 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- .golangci.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a52d129..a94b173 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.20.x - name: Run goreleaser uses: goreleaser/goreleaser-action@v1 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ffbda5..e85f70a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ name: Continuous Integration env: - GO_VERSION: 1.18 + GO_VERSION: 1.20 on: push: @@ -27,7 +27,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.20.x - name: Cache build uses: actions/cache@v1 with: @@ -49,7 +49,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.20.x - name: Cache build uses: actions/cache@v1 with: @@ -77,7 +77,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.20.x - name: Cache build uses: actions/cache@v1 with: @@ -104,7 +104,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.20.x - name: Cache build uses: actions/cache@v1 with: diff --git a/.golangci.yml b/.golangci.yml index de90dc5..219a97c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -26,4 +26,4 @@ linters-settings: max-func-lines: 0 run: - go: 1.18 + go: '1.20' diff --git a/Dockerfile b/Dockerfile index a3506d7..9719593 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG BASE_IMAGE_BUILDER=golang ARG ALPINE_VERSION=3.15 -ARG GO_VERSION=1.18 +ARG GO_VERSION=1.20 FROM ${BASE_IMAGE_BUILDER}:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder ARG GOARCH=amd64 diff --git a/go.mod b/go.mod index 530df30..419f715 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jesseduffield/lazydocker -go 1.18 +go 1.20 require ( github.com/OpenPeeDeeP/xdg v0.2.1-0.20190312153938-4ba9e1eb294c