From c4b01af3e627ec8f66059898e5841d45b491f08a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 14 Nov 2022 21:37:52 +0000 Subject: [PATCH] feat(build): upgrade to go1.19 --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2c47e8..061d002 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Install dependencies run: go mod download - name: Build binary @@ -48,7 +48,7 @@ jobs: - if: ${{ steps.release-please.outputs.release_created }} uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - if: ${{ steps.release-please.outputs.release_created }} name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/Dockerfile b/Dockerfile index 17f5b7e..9a01e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine as builder +FROM golang:1.19-alpine as builder RUN apk add --no-cache git make WORKDIR /app diff --git a/go.mod b/go.mod index 99f69c9..bd301fe 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/jimeh/dotkatapult -go 1.18 +go 1.19