Skip to content

Commit

Permalink
Bump microsoft/msvc-code-analysis-action from 04825f6d9e00f87422d6bf0…
Browse files Browse the repository at this point in the history
…4e1a38b1f3ed60d99 to 96315324a485db21449515180214ecb78c16a1c5 (#57)

* Add the CMAKE_BUILD_TYPE setting.
* Add msvc-code-analysis-action buildConfiguration setting.
* Bump microsoft/msvc-code-analysis-action

Bumps [microsoft/msvc-code-analysis-action](https://github.com/microsoft/msvc-code-analysis-action) from 04825f6d9e00f87422d6bf04e1a38b1f3ed60d99 to 96315324a485db21449515180214ecb78c16a1c5.
- [Release notes](https://github.com/microsoft/msvc-code-analysis-action/releases)
- [Commits](microsoft/msvc-code-analysis-action@04825f6...9631532)

---
updated-dependencies:
- dependency-name: microsoft/msvc-code-analysis-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Bowen-Huggett <paulhuggett@mac.com>
  • Loading branch information
dependabot[bot] and paulhuggett authored Dec 18, 2023
1 parent 94ae1e5 commit 5425f76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
env:
# Path to the CMake build directory.
build: '${{ github.workspace }}/build'
config: 'Debug'

permissions:
contents: read
Expand All @@ -44,18 +45,19 @@ jobs:
submodules: 'True'

- name: Configure CMake
run: cmake -B ${{ env.build }}
run: cmake -B ${{ env.build }} -DCMAKE_BUILD_TYPE=${{ env.config }}

# Build is not required unless generated source files are used
# - name: Build CMake
# run: cmake --build ${{ env.build }}

- name: Initialize MSVC Code Analysis
uses: microsoft/msvc-code-analysis-action@04825f6d9e00f87422d6bf04e1a38b1f3ed60d99
uses: microsoft/msvc-code-analysis-action@96315324a485db21449515180214ecb78c16a1c5
# Provide a unique ID to access the sarif output path
id: run-analysis
with:
cmakeBuildDirectory: ${{ env.build }}
buildConfiguration: ${{ env.config }}
# Ruleset file that will determine what checks will be run
ruleset: NativeRecommendedRules.ruleset
ignoredTargetPaths: ${{ github.workspace }}/googletest;${{ github.workspace }}/unittests
Expand Down

0 comments on commit 5425f76

Please sign in to comment.