feat(FN-692): infrastructure improvements #1
Workflow file for this run
This file contains 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
name: Deploy Feature Infrastructure using Bicep | |
on: | |
pull_request: | |
branches: | |
- feat/stbr-infra | |
paths: | |
- '.github/workflows/bicep_az_deployment_group.yml' | |
- '.github/workflows/bicep_deploy.yml' | |
- '.github/workflows/bicep_workflow_feature.yml' | |
- 'infrastructure/resource_group_level/**' | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint Bicep code | |
runs-on: [self-hosted, linux, deployment] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Bicep | |
run: | | |
az config set bicep.use_binary_from_path=False | |
az bicep install | |
az bicep upgrade | |
- name: Lint Bicep Code | |
run: | | |
az bicep version | |
az bicep build --file infrastructure/resource_group_level/main.bicep |