Bump golang to 1.20

This commit is contained in:
Daniel Carrillo 2023-02-16 19:24:16 +01:00
parent 35fac1bd57
commit 8aadc4fbb6
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
3 changed files with 4 additions and 4 deletions

View File

@ -20,10 +20,10 @@ jobs:
- name: install go - name: install go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: "1.19" go-version-file: go.mod
cache: true cache: true
- name: Lint - name: ${{ matrix.make }}
run: make ${{ matrix.make }} run: make ${{ matrix.make }}
deploy: deploy:

View File

@ -1,4 +1,4 @@
FROM golang:1.19-alpine as builder FROM golang:1.20-alpine as builder
ARG ARG_VERSION ARG ARG_VERSION
ENV VERSION $ARG_VERSION ENV VERSION $ARG_VERSION

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/dcarrillo/whatismyip module github.com/dcarrillo/whatismyip
go 1.19 go 1.20
require ( require (
github.com/gin-contrib/secure v0.0.1 github.com/gin-contrib/secure v0.0.1