Skip to content

Commit

Permalink
docker: Use golang 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Sep 12, 2021
1 parent 0dd848d commit 2387ec8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
GOLANGCILINT_VERSION: 1.41.1
GOLANGCILINT_VERSION: 1.42.0

jobs:
ci:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2387ec8

Please sign in to comment.