tools/importer-msgraph-metadata
: refactor to generate JSON definitions using data-api-sdk
#335
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 Data API V2 API Definitions Can be Mapped | |
on: | |
pull_request: | |
types: ['opened', 'synchronize'] | |
paths: | |
- '.github/workflows/**' | |
- 'api-definitions/**' | |
- 'tools/data-api/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
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: run unit tests | |
run: | | |
cd ./tools/data-api | |
make test |