mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Use setup-env outputs for Terraform-docs version
We change the "Install Terraform-docs" step to use two local environment variables to provide the package's URL and version to install. This allows us to work around `yamllint` line length limits.
This commit is contained in:
parent
0851598edd
commit
2699e09eb7
1 changed files with 4 additions and 3 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -87,9 +87,10 @@ jobs:
|
||||||
PACKAGE_VERSION: ${{ steps.setup-env.outputs.shfmt-version }}
|
PACKAGE_VERSION: ${{ steps.setup-env.outputs.shfmt-version }}
|
||||||
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
|
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
|
||||||
- name: Install Terraform-docs
|
- name: Install Terraform-docs
|
||||||
run: |
|
env:
|
||||||
go install \
|
PACKAGE_URL: github.com/terraform-docs/terraform-docs
|
||||||
github.com/terraform-docs/terraform-docs@${TERRAFORM_DOCS_VERSION}
|
PACKAGE_VERSION: ${{ steps.setup-env.outputs.terraform-docs-version }}
|
||||||
|
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
Loading…
Reference in a new issue