Bump github/codeql-action from 4.32.3 to 4.32.4 in the dependencies g… #1105
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: 10.0.x | |
| BICEP_VERSION: 0.40.2 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - name: Use .NET ${{ env.DOTNET_VERSION }} | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 | |
| 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 }} | |
| - name: Build project | |
| run: dotnet build -c Release ./src | |
| - name: Lint C# code | |
| run: dotnet format --verify-no-changes --exclude ./src/ACMESharpCore --verbosity detailed --no-restore ./src | |
| - name: Lint Bicep template | |
| run: az bicep build -f ./deploy/azuredeploy.bicep && git diff --exit-code --quiet |