Test release workflows (#173)

* goreleaser action

* removed old release

* fix gomega version in tests

* updated build workflow

* fix for empty var
This commit is contained in:
Enrico Candino
2025-01-09 10:10:53 +01:00
committed by GitHub
parent 9fc4a57fc2
commit 4fdce5b1aa
7 changed files with 240 additions and 50 deletions
+1 -5
View File
@@ -8,9 +8,6 @@ on:
permissions:
contents: read
env:
GO_VERSION: "1.22"
jobs:
tests:
runs-on: ubuntu-latest
@@ -21,7 +18,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{env.GO_VERSION}}
go-version-file: go.mod
- name: Check go modules
run: |
@@ -31,7 +28,6 @@ jobs:
- name: Install tools
run: |
go install github.com/onsi/ginkgo/v2/ginkgo
go get github.com/onsi/gomega/...
# With Golang 1.22 we need to use the release-0.18 branch
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.18