mirror of
https://github.com/wader/fq.git
synced 2024-11-23 00:57:15 +03:00
docker: Use golang 1.17
This commit is contained in:
parent
0dd848de6c
commit
2387ec8cb9
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user