Skip to content

Modernize usermode hooking using libusermode #2126

Modernize usermode hooking using libusermode

Modernize usermode hooking using libusermode #2126

Workflow file for this run

name: astyle
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
astyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install astyle
- name: astyle check
id: astyle
run: |
ARTISTIC_STYLE_OPTIONS=".astylerc" astyle -Q --recursive ./src/*.cpp,*.c,*.hpp,*.h > astyle.out
TEST=$(cat astyle.out | wc -l)
if [ $TEST -gt 3 ]; then exit 1; fi
- name: Show required astyle changes
if: failure()
run: git diff