From 214022ce7b7be79ab74440d6268bbcaa4aaf2917 Mon Sep 17 00:00:00 2001
From: Stefan Prodan <stefan.prodan@gmail.com>
Date: Tue, 26 Mar 2024 15:11:25 +0200
Subject: [PATCH] Setup Go toolchain for release workflow

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
---
 .github/workflows/release.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 631f4503c..6a89bcea0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,6 +28,10 @@ jobs:
       packages: write # needed for ghcr access
     steps:
       - uses: actions/checkout@v4
+      - name: Setup Go
+        uses: actions/setup-go@v5
+        with:
+          go-version: 1.22.x
       - uses: fluxcd/flux2/action@main
       - uses: sigstore/cosign-installer@v3.4.0
       - name: Prepare