From bdbb7d0e1b32ab6ef5623727cb8156b0ae3153a4 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Wed, 14 Oct 2020 01:33:58 -0600 Subject: [PATCH] make sure CGO is enabled for all builds, required by sqlite. --- .github/workflows/build.yaml | 2 +- .github/workflows/release.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5a23e1f..fe6c3fb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,6 +9,7 @@ jobs: container: golang:1.13 env: PROJECT_PATH: /go/src/github.com/analogj/scrutiny + CGO_ENABLED: 1 steps: - name: Checkout uses: actions/checkout@v2 @@ -27,7 +28,6 @@ jobs: env: GOOS: linux GOARCH: amd64 - CGO_ENABLED: 1 run: | apt-get update && apt-get install -y file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c7217e0..da0781b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,6 +19,7 @@ jobs: container: golang:1.13 env: PROJECT_PATH: /go/src/github.com/analogj/scrutiny + CGO_ENABLED: 1 steps: - name: Checkout uses: actions/checkout@v2