Check for ptrace_scope before doing ulp operations #409
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coding Style | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
container: | |
image: opensuse/tumbleweed | |
steps: | |
- name: dependencies | |
run: zypper -n install clang git findutils | |
- uses: actions/checkout@v2 | |
- name: format | |
run: find -type f \( -name "*.[c|h]" -or -name "*.cc" \) -exec clang-format -style=file -i {} \; | |
- name: verify | |
run: /bin/bash -c "git status --short | file - | grep empty" | |
id: verify | |
- name: diagnostics | |
if: failure() && steps.verify.outcome == 'failure' | |
run: git diff |