Skip to content

Commit 054d0cb

Browse files
5.13.0
1 parent 20f6923 commit 054d0cb

File tree

3 files changed

+47
-45
lines changed

3 files changed

+47
-45
lines changed

.github/workflows/test-go-task.yml

+43-44
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
id: collection
7373
# jq flags must be "-cRn" see: https://stackoverflow.com/a/68859958/1655275
7474
run: |
75-
echo "tests-data=$(go list ./internal/integrationtest/... | grep integrationtest/ | tr "/" " " | cut -d " " -f 6 | grep lib | jq -cRn '[inputs]')" >> $GITHUB_OUTPUT
75+
echo "tests-data=$(go list ./internal/integrationtest/... | grep integrationtest/ | tr "/" " " | cut -d " " -f 6 | jq -cRn '[inputs]')" >> $GITHUB_OUTPUT
7676
7777
test-integration:
7878
needs: tests-collector
@@ -121,53 +121,52 @@ jobs:
121121
path: |
122122
./coverage_integration_*.txt
123123
124-
test:
125-
needs: run-determination
126-
strategy:
127-
fail-fast: false
128-
matrix:
129-
operating-system:
130-
- windows-latest
131-
- macos-latest
132-
- ubuntu-latest
133-
134-
runs-on: ${{ matrix.operating-system }}
135-
136-
steps:
137-
# By default, actions/checkout converts the repo's LF line endings to CRLF on the Windows runner.
138-
- name: Disable EOL conversions
139-
run: git config --global core.autocrlf false
140-
141-
- name: Checkout repository
142-
uses: actions/checkout@v4
143-
144-
- name: Install Go
145-
uses: actions/setup-go@v5
146-
with:
147-
go-version: ${{ env.GO_VERSION }}
148-
149-
- name: Install Task
150-
uses: arduino/setup-task@v2
151-
with:
152-
repo-token: ${{ secrets.GITHUB_TOKEN }}
153-
version: 3.x
154-
155-
- name: Run tests
156-
run: task go:test
157-
158-
- name: Upload coverage data to workflow artifact
159-
if: runner.os == 'Linux'
160-
uses: actions/upload-artifact@v4
161-
with:
162-
if-no-files-found: error
163-
name: ${{ env.COVERAGE_ARTIFACT }}-test-${{ matrix.operating-system }}
164-
path: |
165-
./coverage_unit.txt
124+
# test:
125+
# needs: run-determination
126+
# strategy:
127+
# fail-fast: false
128+
# matrix:
129+
# operating-system:
130+
# - windows-latest
131+
# - macos-latest
132+
# - ubuntu-latest
133+
#
134+
# runs-on: ${{ matrix.operating-system }}
135+
#
136+
# steps:
137+
# # By default, actions/checkout converts the repo's LF line endings to CRLF on the Windows runner.
138+
# - name: Disable EOL conversions
139+
# run: git config --global core.autocrlf false
140+
#
141+
# - name: Checkout repository
142+
# uses: actions/checkout@v4
143+
#
144+
# - name: Install Go
145+
# uses: actions/setup-go@v5
146+
# with:
147+
# go-version: ${{ env.GO_VERSION }}
148+
#
149+
# - name: Install Task
150+
# uses: arduino/setup-task@v2
151+
# with:
152+
# repo-token: ${{ secrets.GITHUB_TOKEN }}
153+
# version: 3.x
154+
#
155+
# - name: Run tests
156+
# run: task go:test
157+
#
158+
# - name: Upload coverage data to workflow artifact
159+
# if: runner.os == 'Linux'
160+
# uses: actions/upload-artifact@v4
161+
# with:
162+
# if-no-files-found: error
163+
# name: ${{ env.COVERAGE_ARTIFACT }}-test-${{ matrix.operating-system }}
164+
# path: |
165+
# ./coverage_unit.txt
166166

167167
coverage-upload:
168168
runs-on: ubuntu-latest
169169
needs:
170-
- test
171170
- test-integration
172171
steps:
173172
- name: Checkout repository

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/djherbis/buffer v1.2.0
2121
github.com/djherbis/nio/v3 v3.0.1
2222
github.com/fatih/color v1.18.0
23-
github.com/go-git/go-git/v5 v5.13.1
23+
github.com/go-git/go-git/v5 v5.13.0
2424
github.com/gofrs/uuid/v5 v5.3.0
2525
github.com/leonelquinteros/gotext v1.7.0
2626
github.com/mailru/easyjson v0.7.7

go.sum

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ github.com/djherbis/buffer v1.2.0 h1:PH5Dd2ss0C7CRRhQCZ2u7MssF+No9ide8Ye71nPHcrQ
4949
github.com/djherbis/buffer v1.2.0/go.mod h1:fjnebbZjCUpPinBRD+TDwXSOeNQ7fPQWLfGQqiAiUyE=
5050
github.com/djherbis/nio/v3 v3.0.1 h1:6wxhnuppteMa6RHA4L81Dq7ThkZH8SwnDzXDYy95vB4=
5151
github.com/djherbis/nio/v3 v3.0.1/go.mod h1:Ng4h80pbZFMla1yKzm61cF0tqqilXZYrogmWgZxOcmg=
52+
github.com/elazarl/goproxy v1.2.1 h1:njjgvO6cRG9rIqN2ebkqy6cQz2Njkx7Fsfv/zIZqgug=
5253
github.com/elazarl/goproxy v1.2.3 h1:xwIyKHbaP5yfT6O9KIeYJR5549MXRQkoQMRXGztz8YQ=
5354
github.com/elazarl/goproxy v1.4.0 h1:4GyuSbFa+s26+3rmYNSuUVsx+HgPrV1bk1jXI0l9wjM=
5455
github.com/elazarl/goproxy v1.4.0/go.mod h1:X/5W/t+gzDyLfHW4DrMdpjqYjpXsURlBt9lpBDxZZZQ=
@@ -68,6 +69,8 @@ github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UN
6869
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
6970
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
7071
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
72+
github.com/go-git/go-git/v5 v5.13.0 h1:vLn5wlGIh/X78El6r3Jr+30W16Blk0CTcxTYcYPWi5E=
73+
github.com/go-git/go-git/v5 v5.13.0/go.mod h1:Wjo7/JyVKtQgUNdXYXIepzWfJQkUEIGvkvVkiXRR/zw=
7174
github.com/go-git/go-git/v5 v5.13.1 h1:DAQ9APonnlvSWpvolXWIuV6Q6zXy2wHbN4cVlNR5Q+M=
7275
github.com/go-git/go-git/v5 v5.13.1/go.mod h1:qryJB4cSBoq3FRoBRf5A77joojuBcmPJ0qu3XXXVixc=
7376
github.com/go-git/go-git/v5 v5.13.2 h1:7O7xvsK7K+rZPKW6AQR1YyNhfywkv7B8/FsP3ki6Zv0=

0 commit comments

Comments
 (0)