Specify version of a dependency

Is it possible to specify version of a dependency in step.yml? One of my go libraries requires specific version of library from apt repository (latest version is not supported).

Hi @kacper.raczy,

Requiring a specific version is not supported currently. Would it make sense to convert that dependency to check_only, and use a script step to install the required version, before executing your custom step?

Hi @oliver.falvai, thank you for answer. Could you elaborate? Is there possibility to configure step.yml to execute some script beforehand, or should I create something like step.sh, where Iā€™d install required dependencies and run my custom step using go run?

Hey @kacper.raczy, my idea is to use a simple script step in your workflow before your custom step. This way the virtual machine will have the specific library installed by the time the custom step starts.