diff --git a/.github/workflows/azure-bicep-validate.yml b/.github/workflows/azure-bicep-validate.yml new file mode 100644 index 0000000..b0161d8 --- /dev/null +++ b/.github/workflows/azure-bicep-validate.yml @@ -0,0 +1,21 @@ +name: Validate bicep scripts +on: + workflow_dispatch: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Azure CLI script + uses: azure/CLI@v2 + with: + inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep \ No newline at end of file