mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Use setup-env outputs for shfmt version
We change the "Install shfmt" 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
64b24714ac
commit
0851598edd
1 changed files with 4 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -82,7 +82,10 @@ jobs:
|
|||
with:
|
||||
terraform_version: ${{ steps.setup-env.outputs.terraform-version }}
|
||||
- name: Install shfmt
|
||||
run: go install mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION}
|
||||
env:
|
||||
PACKAGE_URL: mvdan.cc/sh/v3/cmd/shfmt
|
||||
PACKAGE_VERSION: ${{ steps.setup-env.outputs.shfmt-version }}
|
||||
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
|
||||
- name: Install Terraform-docs
|
||||
run: |
|
||||
go install \
|
||||
|
|
Loading…
Reference in a new issue