From a5e246cc162fcb82f74b1c1d670f35a68c87dc5e Mon Sep 17 00:00:00 2001 From: Yajith Dayarathna Date: Fri, 30 Aug 2024 18:27:42 +1200 Subject: [PATCH] testing go directive change (#12124) --- .github/workflows/ci.yaml | 3 +-- go.mod | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 940582d86..01f7901be 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,6 @@ on: env: DOCKER_HUB_REPO: portainerci/portainer-ce EXTENSION_HUB_REPO: portainerci/portainer-docker-extension - GO_VERSION: 1.22.5 NODE_VERSION: 18.x jobs: @@ -47,7 +46,7 @@ jobs: - name: '[preparation] set up golang' uses: actions/setup-go@v5.0.0 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: go.mod - name: '[preparation] set up node.js' uses: actions/setup-node@v4.0.1 with: diff --git a/go.mod b/go.mod index 301d948cf..4bea1e26c 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/portainer/portainer -go 1.22 - -toolchain go1.22.5 +go 1.22.6 require ( github.com/Masterminds/semver v1.5.0