Update go version
continuous-integration/drone/push Build is failing Details

This commit is contained in:
IamTheFij 2021-12-01 14:47:58 -08:00
parent 3c14a02770
commit cdd8a69669
3 changed files with 7 additions and 6 deletions

View File

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

View File

@ -10,12 +10,15 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://github.com/golangci/golangci-lint
rev: v1.42.1
hooks:
- id: golangci-lint
- repo: git://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-imports
- id: golangci-lint
- repo: https://github.com/hadolint/hadolint
rev: v2.4.0
hooks:

View File

@ -1,7 +1,5 @@
ARG REPO=library
FROM golang:1.12-alpine AS builder
RUN apk add --no-cache git=~2
FROM golang:1.17 AS builder
RUN mkdir /app
WORKDIR /app