build: make Go 1.18 the min version, update to Go 1.19

As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
This commit is contained in:
Olaoluwa Osuntokun
2022-08-03 17:27:26 -07:00
parent f8615f9910
commit 65a5eeb24e
13 changed files with 22 additions and 66 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.18.2-buster
FROM golang:1.19-buster
RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache