From fba04a0c06a34e1c37aad33016a2f75f2e4d3619 Mon Sep 17 00:00:00 2001 From: partisan Date: Sat, 21 Dec 2024 13:07:19 +0100 Subject: [PATCH] removed go setup, replaced by go check in tests --- .forgejo/workflows/build-release.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml index 9514800..053ccd2 100644 --- a/.forgejo/workflows/build-release.yml +++ b/.forgejo/workflows/build-release.yml @@ -6,11 +6,10 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: 1.20 + + - name: Verify Go Installation + run: | + go version || (echo "Go is not installed!" && exit 1) - name: Build Go Application run: | @@ -27,10 +26,9 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - - name: Install Go + - name: Verify Go Installation run: | - apk add --no-cache go - go version + go version || (echo "Go is not installed!" && exit 1) - name: Build Go Application run: |