-
Notifications
You must be signed in to change notification settings - Fork 16
43 lines (38 loc) · 1.09 KB
/
apim-appgw-recipe-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/