Skip to content

How to add dependencies so code scanning can work? #25422

Answered by airtower-luna
Dotz0cat asked this question in Actions
Discussion options

You must be logged in to vote

You’ll need to add a step (or more) that installs the dependencies before the code scanning steps. Exactly how to do that depends on the dependencies and the platform you are using. For example, in one of my workflows I do this:

      - name: install dependencies
        run: |
          sudo apt-get update
          sudo apt-get -y install python3-yaml apache2-bin apache2-dev gnutls-bin libapr1-dev libgnutls28-dev libmsv-dev pkg-config procps

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Scanning Code scanning: our code analysis features, powered by the CodeQL engine Product Feedback
2 participants