Skip to content

importer-msgraph-metadata: re-enable and generate API definitions #134

importer-msgraph-metadata: re-enable and generate API definitions

importer-msgraph-metadata: re-enable and generate API definitions #134

---
name: Verify All Microsoft Graph Services can be Imported and Generated
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/**'
- 'config/microsoft-graph.hcl'
jobs:
test:
runs-on: custom-linux-xl
strategy:
fail-fast: true
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: recursive
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: ./.go-version
- name: "Build and Run importer-msgraph-metadata"
id: import-data
run: |
cd ./tools/importer-msgraph-metadata
make tools
make import
env:
LOG_LEVEL: WARN
- name: "Run the Go SDK Generator"
run: |
# go go gadget generator
./scripts/automation-generate-go-sdk.sh