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: |