Skip to content

Commit

Permalink
importer-msgraph-metadata: update GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Jun 6, 2024
1 parent 8ce47b0 commit 47e29cf
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/unit-test-end-to-end-microsoft-graph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
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
- name: "Run the Go SDK Generator"
run: |
# go go gadget generator
./scripts/automation-generate-go-sdk.sh
3 changes: 2 additions & 1 deletion .github/workflows/unit-test-end-to-end-resource-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/**'
- 'config/**'
- 'config/resource-manager.hcl'
- 'config/resources/**'

jobs:
test:
Expand Down

0 comments on commit 47e29cf

Please sign in to comment.