Skip to content

Commit

Permalink
dev: Add Bicep lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Dec 10, 2024
1 parent 8e90ca9 commit 9392982
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
python-version: "3.12"
version: "0.5.x"

- name: Set up Azure CLI
run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

# - name: Login to Azure
# uses: Azure/[email protected]
# with:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ lint:
@echo "➡️ Check Python code style..."
uv run ruff check --select I,PL,RUF,UP,ASYNC,A,DTZ,T20,ARG,PERF --ignore RUF012 --fix

@echo "➡️ Check Bicep code style..."
az bicep lint --file cicd/bicep/main.bicep

tunnel:
@echo "➡️ Creating tunnel..."
devtunnel show $(tunnel_name) || devtunnel create $(tunnel_name) --allow-anonymous --expiration 1d
Expand Down

0 comments on commit 9392982

Please sign in to comment.