From 8f12a6c947deaa3488013503a518144c9ecdd035 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Sun, 26 Mar 2023 21:27:19 +0800 Subject: [PATCH] chore: update go-git dependency in go.mod (#30) - Replace `go-git` with a forked version in `go.mod` Signed-off-by: Bo-Yi.Wu Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/act/pulls/30 Reviewed-by: Lunny Xiao Co-authored-by: Bo-Yi.Wu Co-committed-by: Bo-Yi.Wu --- .gitea/workflows/test.yml | 6 +++--- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index f45a991..6973ddc 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -1,5 +1,5 @@ name: checks -on: +on: - push - pull_request @@ -21,7 +21,7 @@ jobs: key: go_path-${{ github.repository }}-${{ github.ref_name }} restore-keys: | go_path-${{ github.repository }}- - go_path- + go_path- - name: cache go cache id: cache-go-cache uses: https://github.com/actions/cache@v3 @@ -30,7 +30,7 @@ jobs: key: go_cache-${{ github.repository }}-${{ github.ref_name }} restore-keys: | go_cache-${{ github.repository }}- - go_cache- + go_cache- - uses: actions/setup-go@v3 with: go-version: 1.20 diff --git a/go.mod b/go.mod index 86b2f04..fb3c86a 100644 --- a/go.mod +++ b/go.mod @@ -80,4 +80,4 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect ) -replace github.com/go-git/go-git/v5 => github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220315170230-29ec1bc1e5db +replace github.com/go-git/go-git/v5 => github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220224134545-c785af3f4559 diff --git a/go.sum b/go.sum index c02c32d..cd8d330 100644 --- a/go.sum +++ b/go.sum @@ -14,8 +14,8 @@ github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDe github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= github.com/ProtonMail/go-crypto v0.0.0-20220404123522-616f957b79ad h1:K3cVQxnwoVf5R2XLZknct3+tJWocEuJUmF7ZGwB2FK8= github.com/ProtonMail/go-crypto v0.0.0-20220404123522-616f957b79ad/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= -github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220315170230-29ec1bc1e5db h1:b0xyxkCQ0PQEH7gFQ8D+xa9lb+bur6RgVsRBodaqza4= -github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220315170230-29ec1bc1e5db/go.mod h1:U7oc8MDRtQhVD6StooNkBMVsh/Y4J/2Vl36Mo4IclvM= +github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220224134545-c785af3f4559 h1:N+UKYPjQ7xkYzbzKWUkDGW5XrhhQDMD4lkwRJCUUA8w= +github.com/ZauberNerd/go-git/v5 v5.4.3-0.20220224134545-c785af3f4559/go.mod h1:U7oc8MDRtQhVD6StooNkBMVsh/Y4J/2Vl36Mo4IclvM= github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/adrg/xdg v0.4.0 h1:RzRqFcjH4nE5C6oTAxhBtoE2IRyjBSa62SCbyPidvls=