Skip to content

refactor: moving the swagger submodule to submodules/rest-api-specs #28

refactor: moving the swagger submodule to submodules/rest-api-specs

refactor: moving the swagger submodule to submodules/rest-api-specs #28

---
name: Verify All Resource Manager Services can be Imported and Generated
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/**'
- 'config/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
with:
dotnet-version: 7.0.x
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: '1.20.5'
- name: "Build Data API"
run: |
cd ./data
make build
- name: "Build and Run importer-rest-api-specs"
id: import-data
run: |
cd ./tools/importer-rest-api-specs
make tools
make build
make import
- name: "Run the Go SDK Generator"
run: |
# go go gadget generator
./scripts/automation-generate-go-sdk.sh