Skip to content

Bump actions/upload-artifact from 4.4.0 to 4.4.3 #2148

Bump actions/upload-artifact from 4.4.0 to 4.4.3

Bump actions/upload-artifact from 4.4.0 to 4.4.3 #2148

Workflow file for this run

name: 'ClangTidy'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * */5'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: 'Configure'
env:
CXX: 'clang++-18'
CC: 'clang-18'
run: cmake -S . -B 'build' -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Verify
run: |
cat build/compile_commands.json
FILES=`find . \
-type f -path './build/benchmark/*.cpp' -o \
-type f -path './sample/*.cpp' -o \
-type f -path './source/*.cpp' -o \
-type f -path './test/*.cpp'`
echo $FILES
clang-tidy-18 -p 'build' $FILES