Merge pull request #492 from TileDB-Inc/seth/cloud-1273-add-tiledb-cl… #94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: cloud-api-spec | |
| on: | |
| push: | |
| tags: [v*] | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| env: | |
| GO_VERSION: 1.22 | |
| SWAGGER_VERSION: v0.31.0 | |
| jobs: | |
| Validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: Install go-swagger | |
| run: go install github.com/go-swagger/go-swagger/cmd/swagger@${{ env.SWAGGER_VERSION }} | |
| - name: Validate specs | |
| run: | | |
| swagger validate openapi-v1.yaml | |
| swagger validate openapi-v2.yaml | |