DoozyX / clang-format-lint-action

This action checks if the source code matches the .clang-format file.
MIT License
129 stars 46 forks source link

Permission denied on v0.16 and clangFormat 16 #58

Closed ReenigneArcher closed 11 months ago

ReenigneArcher commented 11 months ago

This step fails

      - name: Clang format lint
        if: ${{ steps.find_files.outputs.found_files }}
        uses: DoozyX/clang-format-lint-action@v0.16
        with:
          source: ${{ steps.find_files.outputs.found_files }}
          extensions: 'cpp,h,m,mm'
          clangFormatVersion: 16
          style: file
          inplace: false

With the following error. No other output.

run-clang-format.py: error: Command '/clang-format/clang-format16 --version' failed to start: [Errno 13] Permission denied: '/clang-format/clang-format16'

While this step will pass.

      - name: Clang format lint
        if: ${{ steps.find_files.outputs.found_files }}
        uses: DoozyX/clang-format-lint-action@v0.15
        with:
          source: ${{ steps.find_files.outputs.found_files }}
          extensions: 'cpp,h,m,mm'
          clangFormatVersion: 15
          style: file
          inplace: false
DoozyX commented 11 months ago

Please use the latest v0.16.2 version

ReenigneArcher commented 11 months ago

It works. I was expecting the v0.16 tag to capture patches. Thank you!