From 0f3b41c2dd8d60c1430cf34483f2969d1767edb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sat, 3 Dec 2022 00:32:30 +0100 Subject: [PATCH] fix(ci): adapt docker and gha build to use go 1.19 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dae6f37..afbdf34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 id: go - name: Check out code into the Go module directory @@ -39,7 +39,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -90,7 +90,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a244ec..73186f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 id: go - name: Check out code into the Go module directory diff --git a/Dockerfile b/Dockerfile index bb08d07..fe95d67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine AS build-env +FROM golang:1.19-alpine AS build-env WORKDIR /src RUN wget "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh" -O wait-for-it.sh && \ diff --git a/go.mod b/go.mod index 808d77e..9b8ee52 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/muety/wakapi -go 1.18 +go 1.19 require ( codeberg.org/Codeberg/avatars v1.0.0