Skip to content

Update GitHub Actions to latest stable versions and add skills #45

Update GitHub Actions to latest stable versions and add skills

Update GitHub Actions to latest stable versions and add skills #45

Workflow file for this run

on:
workflow_call:
pull_request:
branches:
- main
paths:
- eng/scripts/Test-BicepLint.ps1
- .github/workflows/lint-bicep.yml
jobs:
bicep-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Upgrade bicep
run: |
which bicep
sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v0.42.1/bicep-linux-x64
sudo chmod +x $(which bicep)
- name: Lint .bicep files
run: $ErrorActionPreference='Continue'; eng/scripts/Test-BicepLint.ps1 -Verbose
shell: pwsh