Skip to content

Commit

Permalink
Bump go version for Horizon (#4770)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms authored Feb 15, 2023
1 parent 05059db commit 3f782c4
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 60 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-20.04]
go: [1.19.4]
go: [1.20.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
go: [1.18.6, 1.19.4]
go: [1.19.6, 1.20.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
go: [1.18.6, 1.19.4]
go: [1.19.6, 1.20.1]
pg: [9.6.5, 10]
runs-on: ${{ matrix.os }}
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # version v3.2.0
with:
version: v1.49.0 # this is the golangci-lint version
version: v1.51.1 # this is the golangci-lint version
args: --issues-exit-code=0 # exit without errors for now - won't fail the build
github-token: ${{ secrets.GITHUB_TOKEN }}
only-new-issues: true
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.19.4
go-version: 1.20.1

- 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 @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
go: [1.18.6, 1.19.4]
go: [1.19.6, 1.20.1]
pg: [9.6.5]
ingestion-backend: [db, captive-core, captive-core-remote-storage]
protocol-version: [18, 19]
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/soroban-rpc.yml

This file was deleted.

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.18
go 1.19

require (
firebase.google.com/go v3.12.0+incompatible
Expand Down
5 changes: 5 additions & 0 deletions services/horizon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

## 2.24.1

### Changes

- Bump Go to the latest version (1.20.1), including crypto/tls, mime/multipart, net/http, and path/filepath security fixes.

## 2.24.0

Expand Down
2 changes: 1 addition & 1 deletion staticcheck.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash
set -e

version='2022.1'
version='2023.1.1'

staticcheck='go run honnef.co/go/tools/cmd/staticcheck@'"$version"

Expand Down

0 comments on commit 3f782c4

Please sign in to comment.