Skip to content

Commit 3e3223d

Browse files
committed
#286 Update dependencies
1 parent afb8d53 commit 3e3223d

9 files changed

+43
-15
lines changed

.github/linters/.jscpd.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"ignore": [
33
"**/*.go,**/go-test*.yaml"
44
],
5-
"threshold": 13
5+
"threshold": 20
66
}

.github/workflows/go-test-darwin.yaml.disabled

+9-1
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,22 @@ jobs:
4444
run: mkdir /tmp/sqlite && cp testdata/sqlite/G2C.db /tmp/sqlite/G2C.db
4545

4646
- name: run go test
47-
run: go test -exec /Users/runner/work/serve-grpc/serve-grpc/bin/macos_exec_dyld.sh -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./...
47+
run: go test -exec /Users/runner/work/serve-grpc/serve-grpc/bin/macos_exec_dyld.sh -json -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
4848

4949
- name: Store coverage file
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: cover.out
5353
path: ./cover.out
5454

55+
- name: Upload test log
56+
uses: actions/upload-artifact@v4
57+
if: always()
58+
with:
59+
name: test-log
60+
path: /tmp/gotest.log
61+
if-no-files-found: error
62+
5563
coverage:
5664
name: coverage
5765
needs: go-test-darwin

.github/workflows/go-test-linux.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
with:
3232
go-version: ${{ matrix.go }}
3333

34-
- name: install Senzing API
35-
uses: senzing-factory/github-action-install-senzing-api@v3
36-
with:
37-
senzingapi-runtime-version: ${{ matrix.senzingapi-version }}
38-
3934
- name: Set up gotestfmt
4035
uses: gotesttools/gotestfmt-action@v2
4136
with:
4237
token: ${{ secrets.GITHUB_TOKEN }}
4338

39+
- name: install Senzing API
40+
uses: senzing-factory/github-action-install-senzing-api@v3
41+
with:
42+
senzingapi-runtime-version: ${{ matrix.senzingapi-version }}
43+
4444
- name: copy /etc files
4545
run: sudo cp testdata/senzing-license/g2.lic /etc/opt/senzing/g2.lic
4646

.github/workflows/go-test-windows.yaml

+14-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
with:
3131
go-version: ${{ matrix.go }}
3232

33+
- name: Set up gotestfmt
34+
uses: gotesttools/gotestfmt-action@v2
35+
with:
36+
token: ${{ secrets.GITHUB_TOKEN }}
37+
3338
- name: install Senzing API
3439
uses: senzing-factory/github-action-install-senzing-api@v3
3540
with:
@@ -46,7 +51,7 @@ jobs:
4651

4752
- name: run go test
4853
run: |
49-
go test -v -p 1 -coverprofile=cover -covermode=atomic -coverpkg=./... ./...
54+
go test -json -v -p 1 -coverprofile=cover -covermode=atomic -coverpkg=./... ./... 2>&1 | tee "C:\Temp\gotest.log" | gotestfmt
5055
cp cover cover.out
5156
5257
- name: Store coverage file
@@ -55,6 +60,14 @@ jobs:
5560
name: cover.out
5661
path: cover.out
5762

63+
- name: Upload test log
64+
uses: actions/upload-artifact@v4
65+
if: always()
66+
with:
67+
name: test-log
68+
path: "C:\\Temp\\gotest.log"
69+
if-no-files-found: error
70+
5871
coverage:
5972
name: coverage
6073
needs: go-test-windows

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
-
1212

13+
## [0.7.4] - 2024-06-26
14+
15+
### Changed in 0.7.4
16+
17+
- Updated dependencies
18+
1319
## [0.7.3] - 2024-06-17
1420

1521
### Changed in 0.7.3

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ hello-world: hello-world-osarch-specific
6767

6868
.PHONY: make-dependencies
6969
make-dependencies:
70+
@go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
7071
@go install github.com/vladopajic/go-test-coverage/v2@latest
7172
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.58.1
7273

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/senzing-garage/go-logging v1.5.0
1010
github.com/senzing-garage/go-observing v0.3.2
1111
github.com/senzing-garage/sz-sdk-go v0.13.5
12-
github.com/senzing-garage/sz-sdk-go-core v0.7.3
12+
github.com/senzing-garage/sz-sdk-go-core v0.7.4
1313
github.com/senzing-garage/sz-sdk-proto v0.7.6
1414
github.com/spf13/cobra v1.8.1
1515
github.com/spf13/viper v1.19.0
@@ -41,7 +41,7 @@ require (
4141
golang.org/x/net v0.26.0 // indirect
4242
golang.org/x/sys v0.21.0 // indirect
4343
golang.org/x/text v0.16.0 // indirect
44-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4 // indirect
44+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d // indirect
4545
google.golang.org/protobuf v1.34.2 // indirect
4646
gopkg.in/ini.v1 v1.67.0 // indirect
4747
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ github.com/senzing-garage/go-observing v0.3.2 h1:jXW5u656aZywe/UEUi7ga7nieBSW4CU
4949
github.com/senzing-garage/go-observing v0.3.2/go.mod h1:5yHCwaaIrwX81JOghAL/1Q1V8eF7SQhyBBdhTb7+rgY=
5050
github.com/senzing-garage/sz-sdk-go v0.13.5 h1:7JvU13ofse+5bwdr/Ud0CGS33Z9ybVXFd2akpAFc1L4=
5151
github.com/senzing-garage/sz-sdk-go v0.13.5/go.mod h1:pr9d622FPNGFPgAFooCcUWNeh+AEyVDkvR3Fmsp6whg=
52-
github.com/senzing-garage/sz-sdk-go-core v0.7.3 h1:hRG/xSzal+uPY3UAhdPv+nQNwiTMoyNOQ2bgY8QfmqQ=
53-
github.com/senzing-garage/sz-sdk-go-core v0.7.3/go.mod h1:+N+l991tA8PHqtKD/f8ubZ/KaedN4uiXB6oHsQo+b6g=
52+
github.com/senzing-garage/sz-sdk-go-core v0.7.4 h1:jlD6AzMnWORdBtmR3IRrpahx86MOtFwUuuoBX+oDZ1k=
53+
github.com/senzing-garage/sz-sdk-go-core v0.7.4/go.mod h1:MHRe4w+o57NqbtUJe71aurwQeoVGB45CPwUZhT8QpoY=
5454
github.com/senzing-garage/sz-sdk-proto v0.7.6 h1:mHiZr094UTBcRW1OkNam1Pu/pMLZRO/4cIIyjQ/yDlY=
5555
github.com/senzing-garage/sz-sdk-proto v0.7.6/go.mod h1:7CZSZ5yEVmT2T0yiijjdq7dWsdQ/KtRgvKRqCy+j7SI=
5656
github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=
@@ -86,8 +86,8 @@ golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
8686
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
8787
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
8888
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
89-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4 h1:Di6ANFilr+S60a4S61ZM00vLdw0IrQOSMS2/6mrnOU0=
90-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY=
89+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d h1:k3zyW3BYYR30e8v3x0bTDdE9vpYFjZHK+HcyqkrppWk=
90+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY=
9191
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
9292
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
9393
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=

makefiles/linux.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ setup-osarch-specific:
5757

5858
.PHONY: test-osarch-specific
5959
test-osarch-specific:
60-
@go test -v -p 1 ./...
60+
@go test -json -v -p 1 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
6161

6262
# -----------------------------------------------------------------------------
6363
# Makefile targets supported only by this platform.

0 commit comments

Comments
 (0)