Skip to content

test workflow update with new version of checkout action #12

test workflow update with new version of checkout action

test workflow update with new version of checkout action #12

Workflow file for this run

name: Style Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
# Style check with clang-format 18
style-check:
runs-on: ubuntu-latest
steps:
- name: Install packages
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt install -y nasm clang-format-18
- name: Checkout repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v4.2.0
with:
repository: 'intel/intel-ipsec-mb'
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCLANG_FORMAT_BIN=clang-format-18
- name: Run style check
run: cmake --build ${{github.workspace}}/build --target style