feat(taskboard): implement modular task board #786
Workflow file for this run
This file contains hidden or 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: autofix.ci | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "data/**" | |
| - "data-canary/**" | |
| - "data-otservbr-global/**" | |
| - "cmake/**" | |
| - "docker/**" | |
| - "vcproj/**" | |
| - "vcpkg.json" | |
| - "CMakeLists.txt" | |
| - "CMakePresets.json" | |
| - ".github/workflows/**" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| format: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up pinned Python | |
| uses: jdx/mise-action@9e7f7633ff6f6d6048a9418a68d48f288f50eb14 # v4.2.3 | |
| with: | |
| version: 2026.5.15 | |
| install_args: python | |
| cache: true | |
| env: false | |
| - name: Run clang format lint | |
| uses: DoozyX/clang-format-lint-action@v0.17 | |
| with: | |
| source: "src tests" | |
| exclude: "src/protobuf" | |
| extensions: "cpp,hpp,h" | |
| clangFormatVersion: 17 | |
| inplace: true | |
| - name: Run StyLua | |
| uses: JohnnyMorganz/stylua-action@v5 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| version: latest | |
| args: . | |
| - name: Run cmake-format | |
| run: | | |
| python -m pip install --require-hashes -r .github/requirements-cmake-format.txt | |
| find . -name "CMakeLists.txt" -o -name "*.cmake" | grep -v build/ | grep -v vcpkg_installed/ | xargs python -m cmakelang.format -i | |
| - name: Apply formatting with autofix.ci | |
| uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a | |
| with: | |
| commit-message: "style: auto-formatting (clang/stylua/cmake)" |