Overview of Trunk Runtimes

Starting in v0.18.0-beta, you will now see a runtimes section in your trunk.yaml file.

As part of Trunk's ability to run linters and action hermetically, Trunk also downloads the runtimes that a given linter/action needs to execute properly. For example, when running pylint, Trunk downloads a python runtime in which to run pylint. This allows you to precisely control your linter's dependencies so that you can also pin the version of a given runtime that you require.

Note: Trunk has always done this, by virtue of the default configuration that we ship with; we are now simply exposing the ability to control this yourself in your trunk.yaml file.

Did this page help you?