Skip to content

Commit 73f51e3

Browse files
committed
docker+GitHub: bump golang to v1.17.6
1 parent 82556f5 commit 73f51e3

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ env:
1212
# go needs absolute directories, using the $HOME variable doesn't work here.
1313
DOWNLOAD_CACHE: /home/runner/work/download_cache
1414

15+
# If you change this value, please change it in the following files as well:
16+
# /Dockerfile
17+
# /dev.Dockerfile
18+
GO_VERSION: 1.17.6
19+
1520
jobs:
1621
frontend:
1722
name: frontend tests on ${{ matrix.os }}
@@ -217,5 +222,10 @@ jobs:
217222
working-directory: ./app
218223
run: yarn
219224

225+
- name: setup go ${{ env.GO_VERSION }}
226+
uses: actions/setup-go@v2
227+
with:
228+
go-version: '${{ env.GO_VERSION }}'
229+
220230
- name: run check
221231
run: make itest

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ RUN apk add --no-cache --update alpine-sdk \
3333

3434
# The first stage is already done and all static assets should now be generated
3535
# in the app/build sub directory.
36-
FROM golang:1.16.0-alpine as golangbuilder
36+
# If you change this value, please also update:
37+
# /dev.Dockerfile
38+
# /.github/workflows/main.yml
39+
FROM golang:1.17.6-alpine as golangbuilder
3740

3841
# Instead of checking out from git again, we just copy the whole working
3942
# directory of the previous stage that includes the generated static assets.

dev.Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ RUN cd /go/src/github.com/lightninglabs/lightning-terminal/app \
1010

1111
# The first stage is already done and all static assets should now be generated
1212
# in the app/build sub directory.
13-
FROM golang:1.16.0-alpine as golangbuilder
13+
# If you change this value, please also update:
14+
# /Dockerfile
15+
# /.github/workflows/main.yml
16+
FROM golang:1.17.6-alpine as golangbuilder
1417

1518
# Instead of checking out from git again, we just copy the whole working
1619
# directory of the previous stage that includes the generated static assets.

0 commit comments

Comments
 (0)