From 49118fe31882706c53698c783ec17e871e136b14 Mon Sep 17 00:00:00 2001 From: JonasS <jonass@dev.jsje.de> Date: Fri, 7 May 2021 16:39:54 +0200 Subject: [PATCH] Attempt Github CI release - build only master by default - allow manual builds - disable CGO --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ed5e12f..9497ebf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,10 +1,11 @@ name: Go-CI on: push: - branches: [ '**' ] + branches: [ master ] tags: [ '**' ] pull_request: branches: [ master ] + workflow_dispatch: jobs: lint: name: lint @@ -35,4 +36,5 @@ jobs: version: latest args: release --rm-dist env: + CGO_ENABLED: "0" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- GitLab