diff --git a/.github/workflows/lint-bicep.yml b/.github/workflows/lint-bicep.yml index 6537c022a67..00e5c6e2d56 100644 --- a/.github/workflows/lint-bicep.yml +++ b/.github/workflows/lint-bicep.yml @@ -14,6 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - 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: Lint .bicep files run: $ErrorActionPreference='Continue'; eng/scripts/Test-BicepLint.ps1 -Verbose shell: pwsh