Bump the dependencies group with 1 update #128
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
name: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DOTNET_VERSION: 8.0.x | |
BICEP_VERSION: 0.36.1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use .NET Core ${{ env.DOTNET_VERSION }} | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Use Bicep ${{ env.BICEP_VERSION }} | |
run: | | |
az config set bicep.use_binary_from_path=False | |
az bicep install --version v${{ env.BICEP_VERSION }} | |
az bicep version | |
- name: Build project | |
run: dotnet build -c Release | |
- name: Run test cases | |
run: dotnet test -c Release --no-build | |
- name: Lint C# code | |
run: dotnet format --verify-no-changes --verbosity detailed --no-restore | |
- name: Lint Bicep template | |
run: az bicep build -f azuredeploy.bicep && git diff --exit-code --quiet |