Skip to content

Commit

Permalink
Bump go version to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
KaloyanTanev committed Sep 4, 2024
1 parent 6ab6599 commit 5bfdd26
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ runs:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '1.22.5'
go-version: '1.23.0'
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- cron: '18 19 * * 6'

env:
GOLANG_VERSION: '1.22'
GOLANG_VERSION: '1.23'

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
timeout: 5m
go: "1.22.5"
go: "1.23.0"
linters-settings:
cyclop:
max-complexity: 15
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
rev: v0.0.3
hooks:
- id: check-go-version
args: [ -v=go1.22 ] # Only check minor version locally
args: [ -v=go1.23 ] # Only check minor version locally
pass_filenames: false
additional_dependencies: [ packaging ]
- id: check-licence-header
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Container for building Go binary.
FROM golang:1.22.5-bookworm AS builder
FROM golang:1.23.0-bookworm AS builder
# Install dependencies
RUN apt-get update && apt-get install -y build-essential git
# Prep and copy source
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/obolnetwork/charon

go 1.22
go 1.23

require (
github.com/attestantio/go-eth2-client v0.21.10
Expand Down
2 changes: 1 addition & 1 deletion testutil/promrated/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-alpine AS builder
FROM golang:1.23.0-alpine AS builder

# Install dependencies
RUN apk add --no-cache build-base git
Expand Down

0 comments on commit 5bfdd26

Please sign in to comment.