Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: build with go1.23 #217

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
go-version: [ "1.22.x" ]
go-version: [ "1.23.x" ]
services:
postgres:
image: postgres:16.3-alpine3.20
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/localnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
go-version: [ "1.22.x" ]
go-version: [ "1.23.x" ]
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
Expand All @@ -42,4 +42,3 @@ jobs:
working-directory: ./e2e/monitor
# XXX should this be a make command?
run: go test -v ./...

2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: "${{ github.event_name == 'pull_request' }}"

env:
GO_VERSION: "1.22.x"
GO_VERSION: "1.23.x"
PNPM_VERSION: "9.4.x"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
cancel-in-progress: true

env:
GO_VERSION: "1.22.x"
GO_VERSION: "1.23.x"
PNPM_VERSION: "9.4.x"
GO_LDFLAGS: >-
-X 'github.com/hemilabs/heminetwork/version.Brand=Hemi Labs'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Pre-built binaries are available on the [Releases Page](https://github.com/hemil

- `git`
- `make`
- [Go v1.22.2+](https://go.dev/dl/)
- [Go v1.23+](https://go.dev/dl/)

### Building with Makefile

Expand Down
2 changes: 1 addition & 1 deletion cmd/tbcd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endpoint.**

### 🏁 Prerequisites

Ensure Go v1.22.2 or newer is installed on your system.
Ensure Go v1.23 or newer is installed on your system.

### Using Makefile

Expand Down
2 changes: 1 addition & 1 deletion docker/bfgd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# which can be found in the LICENSE file.

# Build stage
FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder
FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder

ARG GO_LDFLAGS

Expand Down
2 changes: 1 addition & 1 deletion docker/bssd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# which can be found in the LICENSE file.

# Build stage
FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder
FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder

ARG GO_LDFLAGS

Expand Down
2 changes: 1 addition & 1 deletion docker/popmd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# which can be found in the LICENSE file.

# Build stage
FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder
FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder

ARG GO_LDFLAGS

Expand Down
2 changes: 1 addition & 1 deletion e2e/monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ that we want to test against.

## Prerequisites

* Go 1.22+
* Go 1.23+
* `docker` available in your cli

## Running
Expand Down
4 changes: 3 additions & 1 deletion e2e/monitor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/hemilabs/heminetwork/e2e/monitor

go 1.22.6
go 1.22

toolchain go1.23.0

replace github.com/hemilabs/heminetwork => ../../

Expand Down
2 changes: 1 addition & 1 deletion e2e/optimism-stack.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by the MIT License,
# which can be found in the LICENSE file.

FROM golang:1.22.6-bookworm@sha256:39b7e6ebaca464d51989858871f792f2e186dce8ce0cbdba7e88e4444b244407
FROM golang:1.22.6-bookworm@sha256:f020456572fc292e9627b3fb435c6de5dfb8020fbcef1fd7b65dd092c0ac56bb

RUN apt-get update

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hemilabs/heminetwork

go 1.22

toolchain go1.22.6
toolchain go1.23.0

// Temporary replace until we upstream our ws_js patch.
replace github.com/coder/websocket v1.8.12 => github.com/hemilabs/websocket v0.0.0-20240813101919-bf33653e9aa5
Expand Down
Loading