1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 16:40:48 +00:00

Use setup-env outputs for Terraform version

Change from using an environment variable to the outputs of the
cisagov/setup-env-github-action instead.
This commit is contained in:
Nicholas McDonnell 2021-09-30 11:33:00 -04:00
parent 6cf78c02e1
commit 1e16136272
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -44,7 +44,7 @@ jobs:
py${{ steps.setup-python.outputs.python-version }}-\ py${{ steps.setup-python.outputs.python-version }}-\
go${{ env.GO_VERSION }}-\ go${{ env.GO_VERSION }}-\
packer${{ env.PACKER_VERSION }}-\ packer${{ env.PACKER_VERSION }}-\
tf${{ env.TERRAFORM_VERSION }}-" tf${{ steps.setup-env.outputs.terraform-version }}-"
with: with:
# Note that the .terraform directory IS NOT included in the # Note that the .terraform directory IS NOT included in the
# cache because if we were caching, then we would need to use # cache because if we were caching, then we would need to use
@ -78,7 +78,7 @@ jobs:
sudo ln -s /opt/packer/packer /usr/local/bin/packer sudo ln -s /opt/packer/packer /usr/local/bin/packer
- uses: hashicorp/setup-terraform@v1 - uses: hashicorp/setup-terraform@v1
with: with:
terraform_version: ${{ env.TERRAFORM_VERSION }} terraform_version: ${{ steps.setup-env.outputs.terraform-version }}
- name: Install shfmt - name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION} run: go install mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION}
- name: Install Terraform-docs - name: Install Terraform-docs