Skip to content

Commit 2315d8a

Browse files
committed
Merge branch 'fix-go-version-gco' into filter-type-gco
# Conflicts: # specs/README.md
2 parents 00f7f44 + 8780259 commit 2315d8a

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
if: success()
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.18.x
17+
go-version: 1.16.x
1818
- name: Checkout code
1919
uses: actions/checkout@v2
2020
- name: Run tests
2121
run: go test -v -covermode=count ./...
2222
- name: Postman generated
2323
working-directory: specs
2424
run: |
25-
go install github.com/grokify/spectrum@v1.15.0
25+
go install github.com/grokify/spectrum@v1.10.3
2626
spectrum --config engage-digital_postman2.config.json --basePostmanFile engage-digital_postman2.base.json --openapiFile engage-digital_openapi3.yaml --postmanFile engage-digital_postman2.json.new
2727
diff engage-digital_postman2.json engage-digital_postman2.json.new
2828
lint:

specs/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,19 @@ Use `spectrum` to create the Postman 2.x collection from the OpenAPI 3 API Speci
2424

2525
### Installation
2626

27-
The following will install the `spectrum` executable in the `~/go/bin` directory.
27+
Be sure to have the version of go specified in the go.mod file. If you have the latest version of go installed, you can install an oldest version with :
2828

2929
```bash
30-
$ go install github.com/grokify/[email protected]
30+
$ go install golang.org/dl/go1.16@latest
3131
```
3232

33-
This approach requires `go` 1.16 minimum be installed on your system. See more here: [https://golang.org/](https://golang.org/).
33+
See more here: [https://golang.org/](https://golang.org/).
34+
35+
The following will install the `spectrum` executable in the `~/go/bin` directory.
36+
37+
```bash
38+
$ ~/go/bin/go1.16 install github.com/grokify/[email protected]
39+
```
3440

3541
### Usage
3642

0 commit comments

Comments
 (0)