Feature/aml managed vnet #77
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: API Management and App Gateway Recipe CI | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- src/common/app_code/WeatherForecastAPI/** | |
- src/az-webapp-apim-appgw/** | |
- .github/workflows/apim-appgw-recipe-ci.yml | |
pull_request: | |
branches: [main] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build-code: | |
name: Build .NET Code | |
uses: ./.github/workflows/dotnet-build.yml | |
with: | |
dotnet_version: "6.0.x" | |
working_directory: "./src/common/app_code/WeatherForecastAPI/" | |
secrets: inherit | |
validate-bicep: | |
runs-on: ubuntu-latest | |
name: Validate Azure Bicep template | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/validate-bicep | |
with: | |
bicep-path: ./src/az-webapp-apim-appgw/deploy/bicep/main.bicep | |
validate-terraform: | |
runs-on: ubuntu-latest | |
name: Validate Terraform configuration | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/validate-terraform | |
with: | |
terraform_version: "1.3.2" | |
working_directory: ./src/az-webapp-apim-appgw/deploy/terraform/ |