-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from vhvb1989/patch-1
Update azure-dev.yml with no state flag for provision
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,16 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Upgrade bicep | ||
run: | | ||
which bicep | ||
sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v0.31.92/bicep-linux-x64 | ||
sudo chmod +x $(which bicep) | ||
- name: Build Bicep for linting | ||
uses: azure/CLI@v1 | ||
with: | ||
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout | ||
inlineScript: bicep build -f infra/main.bicep --stdout | ||
|
||
- name: Run PSRule analysis | ||
uses: microsoft/[email protected] | ||
|
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