From 5774dbe715d23e1fcb8eaa749e905e5d6340d5a5 Mon Sep 17 00:00:00 2001 From: lucostus Date: Mon, 30 Dec 2024 12:17:13 +0100 Subject: [PATCH] upgrade go version --- .github/workflows/release.yml | 13 ++++++++----- go.mod | 4 +--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5011713..f55ba0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ on: branches: [ main ] workflow_dispatch: +env: + GO_VERSION: '1.23.4' + jobs: lint: name: lint @@ -16,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.21.5' + go-version: ${{ env.GO_VERSION }} cache: true - uses: actions/checkout@v4 - name: golangci-lint @@ -75,7 +78,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.1' + go-version: ${{ env.GO_VERSION }} cache: true - name: Install dependencies @@ -91,13 +94,13 @@ jobs: - uses: actions/cache@v4 with: - path: ./.cache # Note that this path is not influenced by working-directory set in defaults, for example + path: ./.cache # Note that this path is not influenced by working-directory set in defaults key: multena-proxy-${{ github.run_id }} - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.1' + go-version: ${{ env.GO_VERSION }} cache: true - name: Install dependencies run: go get . @@ -125,7 +128,7 @@ jobs: - uses: actions/cache@v4 with: - path: ./.cache # Note that this path is not influenced by working-directory set in defaults, for example + path: ./.cache # Note that this path is not influenced by working-directory set in defaults key: multena-proxy-${{ github.run_id }} fail-on-cache-miss: true diff --git a/go.mod b/go.mod index bd25737..9242bf8 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/gepaplexx/multena-proxy -go 1.23.0 - -toolchain go1.23.4 +go 1.23.4 require ( github.com/MicahParks/keyfunc/v3 v3.3.5