Same way `actions/setup-node` or `actions/setup-python` handle setting version from a file. It could default to `.terraform-version` file as `tfenv` already uses it: https://github.com/tfutils/tfenv#terraform-version-file and matches pattern for other actions.