importer-rest-api-specs
- support resource generation for resources with a scoped ID segment
#235
Workflow file for this run
This file contains 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: Verify All Resource Manager Services can be Imported and Generated | |
on: | |
pull_request: | |
types: ['opened', 'synchronize'] | |
paths: | |
- '.github/workflows/**' | |
- 'config/**' | |
jobs: | |
test: | |
runs-on: custom-linux-xl | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 | |
with: | |
dotnet-version: 7.0.x | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: '1.21.3' | |
- 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 |