Skip to content

Bump step-security/harden-runner from 2.6.1 to 2.8.0 #854

Bump step-security/harden-runner from 2.6.1 to 2.8.0

Bump step-security/harden-runner from 2.6.1 to 2.8.0 #854

Workflow file for this run

name: cppcheck
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
permissions:
contents: read
jobs:
build:
runs-on: ci-cppcheck
if: ${{ github.repository != 'intel/pcm' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: recursive
- name: cppcheck_script
run: |
sh ${{ github.workspace }}/scripts/cppcheck.sh . `getconf _NPROCESSORS_ONLN`