Do not use env for build directory #11
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: 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 |