build(deps): bump send and express in /wrongsecrets-balancer #1001
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-commit check | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
TF_DOCS_VERSION: v0.16.0 | |
TFLINT_VERSION: v0.44.1 | |
TF_VERSION: "1.3.4" | |
HELM_DOCS_VERSION: "1.11.0" | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
name: Pre-commit check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- uses: actions/cache@v4 | |
name: Cache plugin dir | |
with: | |
path: ~/.tflint.d/plugins | |
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }} | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: 1.1.7 | |
- name: Setup TFLint | |
uses: terraform-linters/setup-tflint@v4 | |
with: | |
tflint_version: ${{env.TFLINT_VERSION}} | |
- name: Setup Terraform docs | |
run: | | |
wget https://github.com/terraform-docs/terraform-docs/releases/download/${{env.TF_DOCS_VERSION}}/terraform-docs-${{env.TF_DOCS_VERSION}}-linux-amd64.tar.gz -O terraform_docs.tar.gz | |
tar -zxvf terraform_docs.tar.gz terraform-docs | |
chmod +x terraform-docs | |
mv terraform-docs /usr/local/bin/ | |
- name: Setup helm-docs | |
run: | | |
cd /tmp | |
wget https://github.com/norwoodj/helm-docs/releases/download/v${{env.HELM_DOCS_VERSION}}/helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz | |
tar -xvf helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz | |
sudo mv helm-docs /usr/local/sbin | |
- name: Pre-commit checks | |
uses: pre-commit/[email protected] | |
- name: pre-commit-ci-lite | |
uses: pre-commit-ci/[email protected] | |
if: always() |