Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Oct 17, 2023
1 parent 0dbe833 commit 0419b5c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
go: ["1.20"]
go: ["1.21"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
go: ["1.19", "1.20"]
go: ["1.20", "1.21"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
go: ["1.19", "1.20"]
go: ["1.20", "1.21"]
pg: [9.6.5, 10]
runs-on: ${{ matrix.os }}
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/horizon-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: ./.github/actions/setup-go
with:
go-version: "1.20"
go-version: "1.21"

- name: Check dependencies
run: ./gomod.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/horizon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
go: ["1.19", "1.20"]
go: ["1.20", "1.21"]
pg: [9.6.5]
ingestion-backend: [db, captive-core, captive-core-remote-storage]
protocol-version: [19, 20]
Expand Down
2 changes: 1 addition & 1 deletion exp/services/recoverysigner/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye as build
FROM golang:1.21-bullseye as build

ADD . /src/recoverysigner
WORKDIR /src/recoverysigner
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/stellar/go

go 1.21
go 1.20

require (
firebase.google.com/go v3.12.0+incompatible
Expand Down
2 changes: 1 addition & 1 deletion services/friendbot/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye as build
FROM golang:1.21-bullseye as build

ADD . /src/friendbot
WORKDIR /src/friendbot
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ binary-build:
--pull always \
--env CGO_ENABLED=0 \
--env GOFLAGS="-ldflags=-X=github.com/stellar/go/support/app.version=$(VERSION_STRING)" \
golang:1.20-bullseye \
golang:1.21-bullseye \
/bin/bash -c '\
git config --global --add safe.directory /go/src/github.com/stellar/go && \
cd /go/src/github.com/stellar/go && \
Expand Down
4 changes: 2 additions & 2 deletions services/horizon/docker/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye AS builder
FROM golang:1.21-bullseye AS builder

ARG VERSION="devel"
WORKDIR /go/src/github.com/stellar/go
Expand All @@ -25,4 +25,4 @@ RUN apt-get clean
COPY --from=builder /go/bin/horizon ./

ENTRYPOINT ["./horizon"]

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Change to Go version used in CI or rebuild with --build-arg.
ARG GO_IMAGE=golang:1.20-bullseye
ARG GO_IMAGE=golang:1.21-bullseye
FROM $GO_IMAGE

WORKDIR /go/src/github.com/stellar/go
Expand Down

0 comments on commit 0419b5c

Please sign in to comment.