From a3fc3d2d1852d7591f07483b1080ef19ae14dbf4 Mon Sep 17 00:00:00 2001 From: Ronni Skansing Date: Mon, 2 Mar 2026 20:52:01 +0100 Subject: [PATCH] bump go version Signed-off-by: Ronni Skansing --- .github/workflows/release.yml | 4 ++-- .github/workflows/test-build.yml | 4 ++-- api-test-server/Dockerfile | 2 +- api-test-server/go.mod | 2 +- backend/Dockerfile | 2 +- backend/go.mod | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd1934d..00b38fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: -e CGO_ENABLED=1 \ -e GOOS=linux \ -e GOARCH=amd64 \ - golang:1.25.1 \ + golang:1.25.7 \ go build -trimpath \ -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \ -tags production -o ../build/amd64/phishingclub main.go @@ -78,7 +78,7 @@ jobs: -e GOOS=linux \ -e GOARCH=arm64 \ -e CC=aarch64-linux-gnu-gcc \ - golang:1.25.1 \ + golang:1.25.7 \ bash -c "apt-get update && apt-get install -y gcc-aarch64-linux-gnu && go build -trimpath -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' -tags production -o ../build/arm64/phishingclub main.go" - name: Fix build directory permissions diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index a72fdba..b23c982 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -65,7 +65,7 @@ jobs: -e CGO_ENABLED=1 \ -e GOOS=linux \ -e GOARCH=amd64 \ - golang:1.25.1 \ + golang:1.25.7 \ go build -trimpath \ -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \ -tags production -o ../build/amd64/phishingclub main.go @@ -78,7 +78,7 @@ jobs: -e GOOS=linux \ -e GOARCH=arm64 \ -e CC=aarch64-linux-gnu-gcc \ - golang:1.25.1 \ + golang:1.25.7 \ bash -c "apt-get update && apt-get install -y gcc-aarch64-linux-gnu && go build -trimpath -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' -tags production -o ../build/arm64/phishingclub main.go" - name: Fix build directory permissions diff --git a/api-test-server/Dockerfile b/api-test-server/Dockerfile index 0e763c8..2898fc9 100644 --- a/api-test-server/Dockerfile +++ b/api-test-server/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.5 +FROM golang:1.23.11 WORKDIR /app diff --git a/api-test-server/go.mod b/api-test-server/go.mod index 5ea4dd1..a2e7663 100644 --- a/api-test-server/go.mod +++ b/api-test-server/go.mod @@ -1,3 +1,3 @@ module github.com/phishingclub/phishingclub/api-test-server -go 1.23.8 +go 1.23.11 diff --git a/backend/Dockerfile b/backend/Dockerfile index d5a0b3c..7e596cf 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,5 @@ # development docker file -FROM golang:1.25.1 +FROM golang:1.25.7 EXPOSE 8000 8001 diff --git a/backend/go.mod b/backend/go.mod index 0d91aae..bc9bf3b 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,6 +1,6 @@ module github.com/phishingclub/phishingclub -go 1.25.1 +go 1.25.7 require ( github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2