@@ -44,28 +44,14 @@ jobs:
44
44
git fetch --depth=1 origin generated-terraform
45
45
git worktree add terraform-data generated-terraform
46
46
47
- # https://github.com/tfutils/tfenv#manual
48
- - name : Install tfenv
49
-
47
+ - name : Install mise to set up Terraform
48
+ uses :
jdx/[email protected] # https://github.com/jdx/mise-action
50
49
with :
51
- # https://github.com/actions/checkout#checkout-multiple-repos-nested
52
- repository : tfutils/tfenv
53
- path : tfenv
54
- ref : v3.0.0
55
- # Whether to configure the token or SSH key with the local git config. Default: true
56
- persist-credentials : false
57
-
58
- # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
59
- - name : Add tfenv directory to PATH
60
- run : echo "$GITHUB_WORKSPACE/tfenv/bin" >> $GITHUB_PATH
61
-
62
- # https://github.com/tfutils/tfenv#tfenv-install-version
63
- # https://github.com/tfutils/tfenv#tfenv-use-version
64
- - name : Install terraform
65
- working-directory : infra/terraform
66
- run : |
67
- tfenv install
68
- tfenv use
50
+ version : 2025.3.2 # [default: latest] mise version to install
51
+ install : true # [default: true] run `mise install`
52
+ cache : true # [default: true] cache mise using GitHub's cache
53
+ log_level : info # [default: info] log level
54
+ working_directory : infra/terraform # [default: .] directory to run mise in
69
55
70
56
- name : Install ansible-vault
71
57
# NOTE: during version bump don't forget to update in other places: deploy.yml and provisioning-by-ansible.yml
76
62
# https://developer.hashicorp.com/terraform/cli/commands#upgrade-and-security-bulletin-checks
77
63
CHECKPOINT_DISABLE : true
78
64
run : |
79
- tfenv --version
80
65
terraform -version
81
66
ansible-vault --version
67
+ mise --version
82
68
83
69
- name : Decrypt terraform files
84
70
working-directory : infra/terraform
0 commit comments