Skip to content

Config: regenerating based on 2bec69d3b0e53e564c3413914e0b752beac4b87d #581

Config: regenerating based on 2bec69d3b0e53e564c3413914e0b752beac4b87d

Config: regenerating based on 2bec69d3b0e53e564c3413914e0b752beac4b87d #581

---
name: Verify All 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