mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
fix: switch back to go 1.22 (#10502)
Switching back until https://github.com/ipfs/kubo/issues/10501 is resolved.
This commit is contained in:
parent
5fe960474c
commit
23ca1ddab1
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
||||
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
- uses: actions/checkout@v4
|
||||
- run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
|
||||
- run: docker run --rm $IMAGE_NAME:$WIP_IMAGE_TAG --version
|
||||
|
||||
4
.github/workflows/gateway-conformance.yml
vendored
4
.github/workflows/gateway-conformance.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.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.23.x
|
||||
go-version: 1.22.x
|
||||
- uses: protocol/cache-go-action@v1
|
||||
with:
|
||||
name: ${{ github.job }}
|
||||
|
||||
2
.github/workflows/gobuild.yml
vendored
2
.github/workflows/gobuild.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
- uses: actions/checkout@v4
|
||||
- run: make cmd/ipfs-try-build
|
||||
env:
|
||||
|
||||
2
.github/workflows/golang-analysis.yml
vendored
2
.github/workflows/golang-analysis.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
submodules: recursive
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.23.x"
|
||||
go-version: "1.22.x"
|
||||
- name: Check that go.mod is tidy
|
||||
uses: protocol/multiple-go-modules@v1.4
|
||||
with:
|
||||
|
||||
2
.github/workflows/golint.yml
vendored
2
.github/workflows/golint.yml
vendored
@ -31,6 +31,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
- uses: actions/checkout@v4
|
||||
- run: make -O test_go_lint
|
||||
|
||||
2
.github/workflows/gotest.yml
vendored
2
.github/workflows/gotest.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
- name: Check out Kubo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install missing tools
|
||||
|
||||
2
.github/workflows/interop.yml
vendored
2
.github/workflows/interop.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- 'master'
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.23.x
|
||||
GO_VERSION: 1.22.x
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
|
||||
|
||||
2
.github/workflows/sharness.yml
vendored
2
.github/workflows/sharness.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.x
|
||||
go-version: 1.22.x
|
||||
- name: Checkout Kubo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 AS builder
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS builder
|
||||
|
||||
ARG TARGETOS TARGETARCH
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
module github.com/ipfs/kubo/examples/kubo-as-a-library
|
||||
|
||||
go 1.23
|
||||
go 1.22
|
||||
|
||||
// Used to keep this in sync with the current version of kubo. You should remove
|
||||
// this if you copy this example.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user