Skip to content

Commit

Permalink
Fix go version
Browse files Browse the repository at this point in the history
  • Loading branch information
GCorbel committed Jun 6, 2024
1 parent d3c1df4 commit 2d733b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
if: success()
uses: actions/setup-go@v2
with:
go-version: 1.18.x
go-version: 1.16.x
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: go test -v -covermode=count ./...
- name: Postman generated
working-directory: specs
run: |
go install github.com/grokify/spectrum@v1.15.0
go install github.com/grokify/spectrum@v1.10.3
spectrum --config engage-digital_postman2.config.json --basePostmanFile engage-digital_postman2.base.json --openapiFile engage-digital_openapi3.yaml --postmanFile engage-digital_postman2.json.new
diff engage-digital_postman2.json engage-digital_postman2.json.new
lint:
Expand Down
6 changes: 3 additions & 3 deletions specs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use the following files:
The following files are used to generate the Postman collection and are not designed to be used on their own:

* `engage-digital_postman2.config.json`: configuration file for Spectrum Postman Collection generator.
* `engage-digital_postman2.base.json`:
* `engage-digital_postman2.base.json`:

## Postman Collection

Expand All @@ -27,10 +27,10 @@ Use `spectrum` to create the Postman 2.x collection from the OpenAPI 3 API Speci
The following will install the `spectrum` executable in the `~/go/bin` directory.

```bash
$ go get github.com/grokify/spectrum
$ go install github.com/grokify/spectrum@v1.10.3
```

This approach requires `go` 1.16 minimum be installed on your system. See more here: [https://golang.org/](https://golang.org/).
This approach requires `go` 1.16 be installed on your system. See more here: [https://golang.org/](https://golang.org/).

### Usage

Expand Down

0 comments on commit 2d733b1

Please sign in to comment.