@cryptotaxi247 / kubo / commits / a9737e4d6

chore: update to build with Go 1.21

Adin Schmahmann committed Sep 18, 2023 at 09:40 UTC a9737e4d6a9d97ebb8c58ba66f4b06b8b4cfcc4d
9 files changed +9 -9
.github/workflows/build.yml
+1 -1
@@ -10,7 +10,7 @@ on:
10 - 'master'
11
12 env:
13 - GO_VERSION: 1.20.x
13 + GO_VERSION: 1.21.x
14
15 concurrency:
16 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
.github/workflows/docker-build.yml
+1 -1
@@ -28,7 +28,7 @@ jobs:
28 steps:
29 - uses: actions/setup-go@v4
30 with:
31 - go-version: 1.20.x
31 + go-version: 1.21.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
+1 -1
@@ -32,7 +32,7 @@ jobs:
32 - name: Setup Go
33 uses: actions/setup-go@v4
34 with:
35 - go-version: 1.20.x
35 + go-version: 1.21.x
36 - name: Checkout kubo-gateway
37 uses: actions/checkout@v4
38 with:
.github/workflows/gobuild.yml
+1 -1
@@ -30,7 +30,7 @@ jobs:
30 steps:
31 - uses: actions/setup-go@v4
32 with:
33 - go-version: 1.20.x
33 + go-version: 1.21.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@v4
29 with:
30 - go-version: "1.20.x"
30 + go-version: "1.21.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@v4
33 with:
34 - go-version: 1.20.x
34 + go-version: 1.21.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@v4
34 with:
35 - go-version: 1.20.x
35 + go-version: 1.21.x
36 - name: Check out Kubo
37 uses: actions/checkout@v4
38 - name: Install missing tools
.github/workflows/sharness.yml
+1 -1
@@ -25,7 +25,7 @@ jobs:
25 - name: Setup Go
26 uses: actions/setup-go@v4
27 with:
28 - go-version: 1.20.x
28 + go-version: 1.21.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.20 AS builder
1 +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21 AS builder
2
3 ARG TARGETOS TARGETARCH
4