Skip to content

Commit 656804d

Browse files
authored
Merge pull request #1 from EstopaceMA/feat/improve-ci
chore: add bicep validation in workflow
2 parents 1b8931e + 8035e30 commit 656804d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Validate bicep scripts
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Azure CLI script
19+
uses: azure/CLI@v2
20+
with:
21+
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep

0 commit comments

Comments
 (0)