Bump the dependencies group with 2 updates #77
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: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DOTNET_VERSION: 8.0.x | |
BICEP_VERSION: 0.23.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 bicep install --version v${{ env.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 |