aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-04-11 20:32:17 +0100
committerPaulo Gomes <pjbgf@linux.com>2023-04-11 20:32:17 +0100
commitfc0bf7f9ccee01257879565fe36c13306408f843 (patch)
treee497e4602f818fa57794c6f5db5d390de7cc2b21
parentce62f3e9ff86270538a514a68d3bd5563a733e3b (diff)
downloadgo-git-fc0bf7f9ccee01257879565fe36c13306408f843.tar.gz
ci: Fix upstream git build for master branch
Changes upstream broke the compatibility test, which now requires libcurl installed in order to successfully build. Additionally, the .git-dist dir was added to the .gitignore file. Fixes: https://github.com/go-git/go-git/actions/runs/4670641376/jobs/8270625669 Signed-off-by: Paulo Gomes <pjbgf@linux.com>
-rw-r--r--.github/workflows/git.yml2
-rw-r--r--.gitignore3
-rw-r--r--Makefile2
3 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml
index c945e72..b95cefd 100644
--- a/.github/workflows/git.yml
+++ b/.github/workflows/git.yml
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v3
- name: Install build dependencies
- run: sudo apt-get install gettext
+ run: sudo apt-get install gettext libcurl4-openssl-dev
- name: Git Build
run: make build-git
diff --git a/.gitignore b/.gitignore
index e8d25f5..361133d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ coverage.out
*~
coverage.txt
profile.out
-.tmp/ \ No newline at end of file
+.tmp/
+.git-dist/
diff --git a/Makefile b/Makefile
index 2acb8bc..093a4f4 100644
--- a/Makefile
+++ b/Makefile
@@ -35,4 +35,4 @@ test-coverage:
$(GOTEST) -coverprofile=$(COVERAGE_REPORT) -coverpkg=./... -covermode=$(COVERAGE_MODE) ./...
clean:
- rm -rf $(GIT_DIST_PATH) \ No newline at end of file
+ rm -rf $(GIT_DIST_PATH)