Skip to content

Commit a308758

Browse files
authored
Merge pull request #142 from bhandras/go-bump
build: bump to go 1.22.3
2 parents f2f4ed2 + 5d22ef1 commit a308758

File tree

6 files changed

+52
-13
lines changed

6 files changed

+52
-13
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
# https://github.com/golang/go/issues/51799). There was a race condition
2525
# introduced with go 1.16.10 that causes the unit tests to fail (could also
2626
# happen in production).
27-
GO_VERSION: 1.19.2
27+
GO_VERSION: 1.22.3
2828

2929
jobs:
3030
########################

Dockerfile

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# Don't bump this until go 1.19 is out (which should include a fix for
2-
# https://github.com/golang/go/issues/51799). There was a race condition
3-
# introduced with go 1.16.10 that causes the unit tests to fail (could also
4-
# happen in production).
5-
FROM golang:1.19.2-alpine as builder
1+
FROM golang:1.22.3-alpine as builder
62

73
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
84
# queries required to connect to linked containers succeed.
@@ -17,10 +13,10 @@ ARG checkout="master"
1713
RUN apk add --no-cache --update alpine-sdk \
1814
git \
1915
make \
20-
&& git clone https://github.com/lightninglabs/aperture /go/src/github.com/lightninglabs/aperture \
21-
&& cd /go/src/github.com/lightninglabs/aperture \
22-
&& git checkout $checkout \
23-
&& make install
16+
&& git clone https://github.com/lightninglabs/aperture /go/src/github.com/lightninglabs/aperture \
17+
&& cd /go/src/github.com/lightninglabs/aperture \
18+
&& git checkout $checkout \
19+
&& make install
2420

2521
# Start a new, final image to reduce size.
2622
FROM alpine as final

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/lightninglabs/aperture
22

3-
go 1.19
3+
go 1.22
4+
5+
toolchain go1.22.3
46

57
require (
68
github.com/btcsuite/btcd v0.24.1-0.20240123000108-62e6af035ec5

0 commit comments

Comments
 (0)