Skip to content

Error after recent update (v2.16.0) #313

@mccrearyp

Description

@mccrearyp

What events trigger your workflow?

on:
  pull_request:
    branches: ["develop"]

What OS does your workflow use?

AnnotateLint:
    runs-on:
      group: Default
    container:
      image: 10.10.10.11:5000/ubuntu-dev:latest

How is cpp-linter-action configured?

- name: Lint
        id: linter
        if: github.event.pull_request.changed_files <= 300
        uses: cpp-linter/cpp-linter-action@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          style: "chromium"
          tidy-checks: "bugprone-*,performance-*,readability-*,modernize-*,clang-analyzer-*"
          version: 19
          ignore: ${{ steps.generate_ignore_list.outputs.ignore_filter}}
          extensions: "hpp,cpp"
          database: ".build/Debug"
          extra-args: "-std=c++20 -Wall"
          step-summary: true
          lines-changed-only: true
          thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}

What was the unexpected behavior?

Getting this error after the recent update. I have a container running this action and I think this error my be related python installing the packages. Do I need to be on a newer version of python?

Ensuring clang-format and clang-tidy 19 are present
error: Failed to spawn: `clang-tools`
  Caused by: No such file or directory (os error 2)
Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions