1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix(ci): adapt docker and gha build to use go 1.19

This commit is contained in:
Ferdinand Mütsch 2022-12-03 00:32:30 +01:00
parent 5ae7527b7b
commit 0f3b41c2dd
4 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ^1.18 go-version: ^1.19
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -39,7 +39,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ^1.18 go-version: ^1.19
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -90,7 +90,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ^1.18 go-version: ^1.19
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory

View File

@ -34,7 +34,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ^1.18 go-version: ^1.19
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory

View File

@ -1,4 +1,4 @@
FROM golang:1.18-alpine AS build-env FROM golang:1.19-alpine AS build-env
WORKDIR /src WORKDIR /src
RUN wget "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh" -O wait-for-it.sh && \ RUN wget "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh" -O wait-for-it.sh && \

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/muety/wakapi module github.com/muety/wakapi
go 1.18 go 1.19
require ( require (
codeberg.org/Codeberg/avatars v1.0.0 codeberg.org/Codeberg/avatars v1.0.0