Snyk Setup Action
Last updated
Last updated
More information
Snyk privacy policy© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.
The Snyk Setup Action provides a way to install the Snyk CLI to check for vulnerabilities. For information about when to use this action, see Use your own development environment on the GitHub Actions Integration page.
You can use the Snyk Setup Action to install Snyk to check for vulnerabilities as follows:
When using the Setup Action you are responsible for setting up the development environment required to run Snyk. In this case this is a Go project so actions/setup-go
was used, but this would be specific to your project. The GitHub language and frameworks guides are a good starting point.
The Snyk Setup Action has a property which is passed to the underlying image using with
.
Property | Default | Description |
---|---|---|
The Action also has output:
For example, you can choose to install a specific version of Snyk and grab the installed version from the output:
Property | Default | Description |
---|---|---|