[Kernel] support simple get and set items #714
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: Check C++ Codestyle | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare clang-tools-10 | |
run: echo "TODO install clang-tools-10" | |
- name: checkout | |
run: | | |
commits=${{ github.event.pull_request.commits }} | |
if [[ -n "$commits" ]]; then | |
# Prepare enough depth for diffs with master | |
git fetch --depth="$(( commits + 1 ))" | |
fi | |
- name: Check C++ Codestyle | |
run: bash ci/code-format-cxx.sh --show-only --fail-on-diff |