@cryptotaxi247 / kubo / commits / b50e02967

fix: switch back to go 1.22 (#10502)

Switching back until https://github.com/ipfs/kubo/issues/10501 is resolved. (cherry picked from commit 23ca1ddab1cbaedbc21409ccf0337d2255e9ce0e)

Marcin Rataj committed Sep 2, 2024 at 23:39 UTC b50e029676a7a3f09350594ae8d5560b3b55e039
12 files changed +13 -13
.github/workflows/codeql-analysis.yml
+1 -1
@@ -34,7 +34,7 @@ jobs:
34 - name: Setup Go
35 uses: actions/setup-go@v5
36 with:
37 - go-version: 1.23.x
37 + go-version: 1.22.x
38
39 # Initializes the CodeQL tools for scanning.
40 - name: Initialize CodeQL
.github/workflows/docker-build.yml
+1 -1
@@ -28,7 +28,7 @@ jobs:
28 steps:
29 - uses: actions/setup-go@v5
30 with:
31 - go-version: 1.23.x
31 + go-version: 1.22.x
32 - uses: actions/checkout@v4
33 - run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
34 - run: docker run --rm $IMAGE_NAME:$WIP_IMAGE_TAG --version
.github/workflows/gateway-conformance.yml
+2 -2
@@ -49,7 +49,7 @@ jobs:
49 - name: Setup Go
50 uses: actions/setup-go@v5
51 with:
52 - go-version: 1.23.x
52 + go-version: 1.22.x
53 - uses: protocol/cache-go-action@v1
54 with:
55 name: ${{ github.job }}
@@ -136,7 +136,7 @@ jobs:
136 - name: Setup Go
137 uses: actions/setup-go@v5
138 with:
139 - go-version: 1.23.x
139 + go-version: 1.22.x
140 - uses: protocol/cache-go-action@v1
141 with:
142 name: ${{ github.job }}
.github/workflows/gobuild.yml
+1 -1
@@ -30,7 +30,7 @@ jobs:
30 steps:
31 - uses: actions/setup-go@v5
32 with:
33 - go-version: 1.23.x
33 + go-version: 1.22.x
34 - uses: actions/checkout@v4
35 - run: make cmd/ipfs-try-build
36 env:
.github/workflows/golang-analysis.yml
+1 -1
@@ -27,7 +27,7 @@ jobs:
27 submodules: recursive
28 - uses: actions/setup-go@v5
29 with:
30 - go-version: "1.23.x"
30 + go-version: "1.22.x"
31 - name: Check that go.mod is tidy
32 uses: protocol/multiple-go-modules@v1.4
33 with:
.github/workflows/golint.yml
+1 -1
@@ -31,6 +31,6 @@ jobs:
31 steps:
32 - uses: actions/setup-go@v5
33 with:
34 - go-version: 1.23.x
34 + go-version: 1.22.x
35 - uses: actions/checkout@v4
36 - run: make -O test_go_lint
.github/workflows/gotest.yml
+1 -1
@@ -32,7 +32,7 @@ jobs:
32 - name: Set up Go
33 uses: actions/setup-go@v5
34 with:
35 - go-version: 1.23.x
35 + go-version: 1.22.x
36 - name: Check out Kubo
37 uses: actions/checkout@v4
38 - name: Install missing tools
.github/workflows/interop.yml
+1 -1
@@ -10,7 +10,7 @@ on:
10 - 'master'
11
12 env:
13 - GO_VERSION: 1.23.x
13 + GO_VERSION: 1.22.x
14
15 concurrency:
16 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
.github/workflows/sharness.yml
+1 -1
@@ -25,7 +25,7 @@ jobs:
25 - name: Setup Go
26 uses: actions/setup-go@v5
27 with:
28 - go-version: 1.23.x
28 + go-version: 1.22.x
29 - name: Checkout Kubo
30 uses: actions/checkout@v4
31 with:
Dockerfile
+1 -1
@@ -1,4 +1,4 @@
1 -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 AS builder
1 +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS builder
2
3 ARG TARGETOS TARGETARCH
4
docs/examples/kubo-as-a-library/go.mod
+1 -1
@@ -1,6 +1,6 @@
1 module github.com/ipfs/kubo/examples/kubo-as-a-library
2
3 -go 1.23
3 +go 1.22
4
5 // Used to keep this in sync with the current version of kubo. You should remove
6 // this if you copy this example.
go.mod
+1 -1
@@ -251,4 +251,4 @@ require (
251 lukechampine.com/blake3 v1.3.0 // indirect
252 )
253
254 -go 1.23
254 +go 1.22