Skip to content

[StepSecurity] Apply security best practices #210

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #210

Workflow file for this run

name: coverity-windows
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
permissions:
contents: read
jobs:
build:
runs-on: ci-kw-windows
if: ${{ github.repository != 'intel/pcm' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@34cfbaee7f672c76950673338facd8a73f637506 # v1.1.3
- name: coverity-windows
run: |
mkdir build
cd build
cmake ..
c:\pcm\ci-cov-windows.ps1
- name: coverity-windows-cs
run: |
mkdir build-cs
cd build-cs
cmake ..
c:\pcm\ci-cov-windows-cs.ps1
- name: coverity-windows-msr
run: |
chdir ${{github.workspace}}\src\WinMSRDriver
c:\pcm\ci-cov-windows-msr.ps1