Use go 1.20

pull/486/head
Jesse Duffield 7 months ago
parent 966570ce6c
commit e69449c824

@ -16,7 +16,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.18.x go-version: 1.20.x
- name: Run goreleaser - name: Run goreleaser
uses: goreleaser/goreleaser-action@v1 uses: goreleaser/goreleaser-action@v1
with: with:

@ -1,7 +1,7 @@
name: Continuous Integration name: Continuous Integration
env: env:
GO_VERSION: 1.18 GO_VERSION: 1.20
on: on:
push: push:
@ -27,7 +27,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.18.x go-version: 1.20.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -49,7 +49,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.18.x go-version: 1.20.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -77,7 +77,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.18.x go-version: 1.20.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -104,7 +104,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.18.x go-version: 1.20.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:

@ -26,4 +26,4 @@ linters-settings:
max-func-lines: 0 max-func-lines: 0
run: run:
go: 1.18 go: '1.20'

@ -1,6 +1,6 @@
ARG BASE_IMAGE_BUILDER=golang ARG BASE_IMAGE_BUILDER=golang
ARG ALPINE_VERSION=3.15 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 FROM ${BASE_IMAGE_BUILDER}:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
ARG GOARCH=amd64 ARG GOARCH=amd64

@ -1,6 +1,6 @@
module github.com/jesseduffield/lazydocker module github.com/jesseduffield/lazydocker
go 1.18 go 1.20
require ( require (
github.com/OpenPeeDeeP/xdg v0.2.1-0.20190312153938-4ba9e1eb294c github.com/OpenPeeDeeP/xdg v0.2.1-0.20190312153938-4ba9e1eb294c

Loading…
Cancel
Save