fix: go 1.23(.2) (#10540)

go1.23.2 includes potential fix for issue described in
https://github.com/ipfs/kubo/issues/10501

(cherry picked from commit 091bc083c3)
This commit is contained in:
Marcin Rataj 2024-10-08 17:16:02 +02:00
parent 6b3cd0d14f
commit 598545171c
13 changed files with 20 additions and 13 deletions

View File

@ -34,7 +34,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: actions/checkout@v4
- run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
- run: docker run --rm $IMAGE_NAME:$WIP_IMAGE_TAG --version

View File

@ -49,7 +49,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: protocol/cache-go-action@v1
with:
name: ${{ github.job }}
@ -136,7 +136,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: protocol/cache-go-action@v1
with:
name: ${{ github.job }}

View File

@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: actions/checkout@v4
- run: make cmd/ipfs-try-build
env:

View File

@ -27,7 +27,7 @@ jobs:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"
- name: Check that go.mod is tidy
uses: protocol/multiple-go-modules@v1.4
with:

View File

@ -31,6 +31,6 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: actions/checkout@v4
- run: make -O test_go_lint

View File

@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Check out Kubo
uses: actions/checkout@v4
- name: Install missing tools

View File

@ -10,7 +10,7 @@ on:
- 'master'
env:
GO_VERSION: 1.22.x
GO_VERSION: 1.23.x
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}

View File

@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Checkout Kubo
uses: actions/checkout@v4
with:

View File

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 AS builder
ARG TARGETOS TARGETARCH

View File

@ -9,6 +9,7 @@
- [Experimental Pebble Datastore](#experimental-pebble-datastore)
- [New metrics](#new-metrics)
- [`lowpower` profile no longer breaks DHT announcements](#lowpower-profile-no-longer-breaks-dht-announcements)
- [go 1.23, boxo 0.24 and go-libp2p 0.36.5](#go-123-boxo-024-and-go-libp2p-0365)
- [📝 Changelog](#-changelog)
- [👨‍👩‍👧‍👦 Contributors](#-contributors)
@ -43,6 +44,10 @@ This release changes [`lowpower` profile](https://github.com/ipfs/kubo/blob/mast
>
> As a convenience, `ipfs daemon` will warn if reprovide system is disabled, creating oportinity to fix configuration if it was not intentional.
#### go 1.23, boxo 0.24 and go-libp2p 0.36.5
Various bugfixes. Please update.
### 📝 Changelog
### 👨‍👩‍👧‍👦 Contributors

View File

@ -1,6 +1,8 @@
module github.com/ipfs/kubo/examples/kubo-as-a-library
go 1.22
go 1.23
toolchain go1.23.2
// Used to keep this in sync with the current version of kubo. You should remove
// this if you copy this example.

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/ipfs/kubo
go 1.22
go 1.23
require (
bazil.org/fuse v0.0.0-20200117225306-7b5117fecadc