Skip to content

Commit 05b5c99

Browse files
authored
Merge pull request #11 from neo4j/keremgocen/add-mockgen-in-workflows
install mockgen binary before building
2 parents 504c479 + e0bd3ce commit 05b5c99

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.25.1"
19+
go-version: "1.25.0"
20+
- run: go install go.uber.org/mock/mockgen@latest
2021

2122
- name: Cache Go modules
2223
uses: actions/cache@v4

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/setup-go@v5
1616
with:
1717
go-version: "stable"
18+
- run: go install go.uber.org/mock/mockgen@latest
1819

1920
- name: Get the latest version
2021
id: latest

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ builds:
1717
main: ./cmd/neo4j-mcp
1818

1919
archives:
20-
- formats: tar.gz
20+
- formats: ["tar.gz"]
2121
# this name template makes the OS and Arch compatible with the results of `uname`.
2222
name_template: >-
2323
{{ .ProjectName }}_
@@ -29,7 +29,7 @@ archives:
2929
# use zip for windows archives
3030
format_overrides:
3131
- goos: windows
32-
formats: zip
32+
formats: ["zip"]
3333

3434
changelog:
3535
disable: false

0 commit comments

Comments
 (0)