Skip to content

Do not use env for build directory #11

Do not use env for build directory

Do not use env for build directory #11

Workflow file for this run

---
name: lint
"on":
push:
branches: [main]
pull_request:
jobs:
yamllint:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run yamllint
run: yamllint .github/workflows/ .clang-format -f github
clang-format:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run clang-format
run: |
clang-format -i include/tmp/* **/*.cpp
git diff --color --exit-code
cmake-format:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run cmake-format
run: |
pip install cmake-format
cmake-format -i **/*.cmake **/CMakeLists.txt
git diff --color --exit-code