1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00

docker: Use golang 1.17

This commit is contained in:
Mattias Wadman 2021-08-18 21:00:23 +02:00
parent 0dd848de6c
commit 2387ec8cb9
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ on:
pull_request:
env:
GOLANGCILINT_VERSION: 1.41.1
GOLANGCILINT_VERSION: 1.42.0
jobs:
ci:
@ -20,7 +20,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.16.6
go-version: 1.17.0
- name: Lint
uses: golangci/golangci-lint-action@v2
with:

View File

@ -19,7 +19,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.16.6
go-version: 1.17.0
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v2
with:

View File

@ -1,11 +1,11 @@
# bump: golang /FROM golang:([\d.]+)/ docker:golang|^1
FROM golang:1.16.6 AS base
FROM golang:1.17.0 AS base
# docker build --target dev -t fq-dev - < Dockerfile && docker run --rm -ti -v "$PWD:/$PWD" -w "$PWD" fq-dev
FROM base AS dev
# bump: golangcilint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
ARG GOLANGCILINT_VERSION=1.41.1
ARG GOLANGCILINT_VERSION=1.42.0
RUN \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b /usr/local/bin v$GOLANGCILINT_VERSION