fix: Expose dst_array_element for write descriptors + additional cleanup for vk::buffer_parameters
#182
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: cpp-linter | |
| on: [pull_request] | |
| jobs: | |
| cpp-linter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: cpp-linter/cpp-linter-action@v2 | |
| id: linter | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| style: '' # Disables clang-format so it strictly runs clang-tidy | |
| # tidy-checks: '.clang-tidy' | |
| extensions: 'cpp,cppm,h,hpp' # common C++ file extensions | |
| # files-changed-only: true | |
| thread-comments: ${{ github.event_name == 'pull_request' && 'update' }} | |
| # Ensure clang-tidy knows how to parse modern C++ headers/modules without a compile_commands.json | |
| extra-args: '-Wall -Wextra -Werror -std=c++23 --config-file=.clang-tidy' | |
| - name: Failed fast?! | |
| # Does a check if any of the given clang-tidy checks failed! | |
| if: steps.linter.outputs.checks-failed != '0' | |
| run: | | |
| echo "Failed clang-tidy linters check" | |
| echo "Total violations reported: ${{ steps.linter.outputs.checks-failed }}" | |
| exit 1 |