Update go to 1.20
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2023-08-10 16:21:33 -04:00
parent 46f4561bea
commit c02d64d674
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ name: test
steps: steps:
- name: test - name: test
image: golang:1.17 image: golang:1.20
environment: environment:
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
commands: commands:
@ -30,7 +30,7 @@ trigger:
steps: steps:
- name: build all binaries - name: build all binaries
image: golang:1.17 image: golang:1.20
environment: environment:
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
commands: commands:

View File

@ -1,5 +1,5 @@
ARG REPO=library ARG REPO=library
FROM golang:1.17 AS builder FROM golang:1.20 AS builder
RUN mkdir /app RUN mkdir /app
WORKDIR /app WORKDIR /app

2
go.mod
View File

@ -1,6 +1,6 @@
module git.iamthefij.com/iamthefij/minitor-go module git.iamthefij.com/iamthefij/minitor-go
go 1.17 go 1.20
require ( require (
git.iamthefij.com/iamthefij/slog v1.3.0 git.iamthefij.com/iamthefij/slog v1.3.0