Skip to content

Commit a7fa479

Browse files
noltenolte
andauthored
fix readme and and release job, adding missing json pathc (#45)
Co-authored-by: nolte <[email protected]>
1 parent 2fd2308 commit a7fa479

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/cicd-release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ jobs:
2222
&& chmod +x $HOME/bin/swagger
2323
echo "::add-path::$HOME/bin"
2424
25-
- name: Use Node.js
26-
uses: actions/setup-node@v1
27-
with:
28-
node-version: 12.x
29-
30-
- name: npm install swagger-merger
25+
- name: install go stuff
3126
run: |
32-
npm install swagger-merger -g
27+
go get -v \
28+
github.com/magefile/mage \
29+
github.com/evanphx/json-patch/cmd/json-patch
30+
echo "::add-path::$(go env GOPATH)/bin"
3331
3432
- name: Check out code into the Go module directory
3533
uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For full building and testing you need the following tools on our machine.
5858

5959
- go
6060
- [go-swagger/go-swagger](https://github.com/go-swagger/go-swagger)
61-
- [WindomZ/swagger-merger](https://github.com/WindomZ/swagger-merger)
61+
- [evanphx/json-patch](https://github.com/evanphx/json-patch)
6262

6363
#### Required For Testing
6464

0 commit comments

Comments
 (0)