aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2022-12-11 11:44:32 +0100
committerGitHub <noreply@github.com>2022-12-11 11:44:32 +0100
commitf62ac395ce756993cbdd8e502e533e1863f2b1df (patch)
tree307cd5490cb36380b67ccb20b840519c3e0c8bf5 /.github/workflows
parentc7050e7c96c49b94ec0033255aed302081ee145e (diff)
parent223e7321561147bb4f56e442ca8f84b7453e131e (diff)
downloadgo-git-f62ac395ce756993cbdd8e502e533e1863f2b1df.tar.gz
Merge pull request #625 from pjbgf/bump-sha1cd-nocgo
Fix error when building with `CGO_ENABLED=0`
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/git.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml
index fef2127..ba664a2 100644
--- a/.github/workflows/git.yml
+++ b/.github/workflows/git.yml
@@ -38,3 +38,8 @@ jobs:
- name: Test
run: make test-coverage
+
+ - name: Build go-git with CGO disabled
+ run: go build ./...
+ env:
+ CGO_ENABLED: 0