How to add dependencies so code scanning can work? #25422
-
I have been trying to set up code scanning on one of my repositories. The repository hold code in c. However when the workflow runs to build the code so it can be scanned, it fails due to not having the right dependencies installed. How can I get the dependencies added so the code can be built and scanned? |
Beta Was this translation helpful? Give feedback.
Answered by
airtower-luna
Oct 25, 2020
Replies: 1 comment
-
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:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: