.terraform-version is a useful file in git repositories for specifying Terraform versions. While popular tools like tfenv and tfswitch recognize it, the hashicorp/setup-terraform GitHub action does not out of the box. This post details a workaround to manually read the version from the .terraform-version file during CI/CD workflows using GitHub actions.