Update GitHub Actions to latest stable versions and add skills #45
Workflow file for this run
This file contains hidden or 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
| 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 |