From 9daf1c8105ba7deef8e8ed72f5859c02d872a09c Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev <24719519+KaloyanTanev@users.noreply.github.com> Date: Wed, 22 May 2024 14:33:01 +0200 Subject: [PATCH] *: bump go to version 1.22 (#3092) Bump go version. Should be safe, as we are already using go 1.22 in the pipelines without any issues. category: misc ticket: none --- .github/workflows/codeql-analysis.yml | 8 ++++++++ go.mod | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3da078912..9c6ba92dc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,6 +20,9 @@ on: schedule: - cron: '18 19 * * 6' +env: + GOLANG_VERSION: '1.22' + jobs: analyze: name: Analyze @@ -40,6 +43,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ env.GOLANG_VERSION }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/go.mod b/go.mod index 14c861e6f..c56c15cc6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/obolnetwork/charon -go 1.21 +go 1.22 require ( github.com/attestantio/go-eth2-client v0.21.4