Skip to content

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

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 #476

name: Mac OS X scan-build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: macos-12
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: cmake
run: |
rm -rf ${{ github.workspace }}/build
$(brew --prefix llvm@15)/bin/scan-build cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}
- name: make
run: |
cd ${{ github.workspace }}/build
$(brew --prefix llvm@15)/bin/scan-build --exclude src/simdjson --status-bugs make -j