From d7a0639c78f0bc6d410f693ab985a1b6aed830d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Urban?= Date: Sun, 1 Oct 2023 23:58:21 +0200 Subject: [PATCH] fix(infra): update actions --- .github/workflows/push.yml | 2 +- .github/workflows/release-prod.yml | 2 +- .github/workflows/release.yml | 2 +- backend/internal/go.mod | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 backend/internal/go.mod diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6a09c5f..9417e36 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -47,7 +47,7 @@ jobs: run: go get ./... - name: Build working-directory: backend - run: go build -o build/kubevoyage ./cmd/kubevoyage + run: GOOS=linux GOARCH=amd64 go build -o build/kubevoyage ./cmd/kubevoyage #- name: Test with the Go CLI # run: go test - name: Archive production artifacts diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index edb50cb..52bc4a4 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -41,7 +41,7 @@ jobs: run: go get ./... - name: Build working-directory: backend - run: go build -o build/kubevoyage ./cmd/kubevoyage + run: GOOS=linux GOARCH=amd64 go build -o build/kubevoyage ./cmd/kubevoyage #- name: Test with the Go CLI # run: go test - name: Archive production artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f6e7b2..2e0664e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: run: go get ./... - name: Build working-directory: backend - run: go build -o build/kubevoyage ./cmd/kubevoyage + run: GOOS=linux GOARCH=amd64 go build -o build/kubevoyage ./cmd/kubevoyage #- name: Test with the Go CLI # run: go test - name: Archive production artifacts diff --git a/backend/internal/go.mod b/backend/internal/go.mod new file mode 100644 index 0000000..350fc31 --- /dev/null +++ b/backend/internal/go.mod @@ -0,0 +1,3 @@ +module internal + +go 1.21