Skip to content

Commit 86dc312

Browse files
Enhance step descriptions in azure-dev.yml
Added descriptive names for steps in the Azure template validation job.
1 parent 93874b3 commit 86dc312

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/azure-dev.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
name: template validation
1717
steps:
18-
- uses: actions/checkout@v4
19-
20-
- uses: microsoft/template-validation-action@Latest
18+
# Step 1: Checkout the code from your repository
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
# Step 2: Validate the Azure template using microsoft/template-validation-action
22+
- name: Validate Azure Template
23+
uses: microsoft/template-validation-action@Latest
24+
with:
25+
validateAzd: true
26+
useDevContainer: false
2127
id: validation
2228
env:
2329
AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
@@ -26,6 +32,6 @@ jobs:
2632
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
2733
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
2834
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
35+
# Step 3: Print the result of the validation
3036
- name: print result
3137
run: cat ${{ steps.validation.outputs.resultFile }}

0 commit comments

Comments
 (0)