diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ce363b9d58..1e6e89c653 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.18] + go: [1.19] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -31,7 +31,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.17, 1.18] + go: [1.18, 1.19] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -47,7 +47,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.17, 1.18] + go: [1.18, 1.19] pg: [9.6.5, 10] runs-on: ${{ matrix.os }} services: diff --git a/.github/workflows/horizon-release.yml b/.github/workflows/horizon-release.yml index f1e06b47db..95386239df 100644 --- a/.github/workflows/horizon-release.yml +++ b/.github/workflows/horizon-release.yml @@ -22,7 +22,7 @@ jobs: - uses: ./.github/actions/setup-go with: - go-version: 1.17 + go-version: 1.18 - name: Check dependencies run: ./gomod.sh diff --git a/.github/workflows/horizon.yml b/.github/workflows/horizon.yml index 80bc0b12d2..61f2535633 100644 --- a/.github/workflows/horizon.yml +++ b/.github/workflows/horizon.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.17, 1.18] + go: [1.18, 1.19] pg: [9.6.5] ingestion-backend: [db, captive-core, captive-core-remote-storage] protocol-version: [18, 19] diff --git a/go.mod b/go.mod index bfa6a4a679..455a363e42 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stellar/go -go 1.17 +go 1.18 require ( firebase.google.com/go v3.12.0+incompatible diff --git a/services/horizon/docker/Dockerfile.dev b/services/horizon/docker/Dockerfile.dev index 2e50c298ba..357f08188c 100644 --- a/services/horizon/docker/Dockerfile.dev +++ b/services/horizon/docker/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM golang:1.17 AS builder +FROM golang:1.18 AS builder WORKDIR /go/src/github.com/stellar/go COPY go.mod go.sum ./ diff --git a/services/horizon/internal/scripts/check_release_hash/Dockerfile b/services/horizon/internal/scripts/check_release_hash/Dockerfile index b7aadc3354..431f813462 100644 --- a/services/horizon/internal/scripts/check_release_hash/Dockerfile +++ b/services/horizon/internal/scripts/check_release_hash/Dockerfile @@ -1,5 +1,5 @@ # Change to Go version used in CI or rebuild with --build-arg. -ARG GO_IMAGE=golang:1.17 +ARG GO_IMAGE=golang:1.18 FROM $GO_IMAGE WORKDIR /go/src/github.com/stellar/go