Skip to content

build(deps): Bump zipp from 3.4.1 to 3.19.1 in /scripts #28

build(deps): Bump zipp from 3.4.1 to 3.19.1 in /scripts

build(deps): Bump zipp from 3.4.1 to 3.19.1 in /scripts #28

Workflow file for this run

---
name: CI/CD
on:
push:
branches:
- main
- develop
pull_request:
jobs:
pre-commit:
name: Verify the pre-commit framework was used properly by developers
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
# Semantic version range syntax (like 3.x) or the exact Python version
python-version: '3.11.0'
- name: Run pre-commit framework as the developer should run it
run: sudo ./scripts/install.sh && sudo ./scripts/run.sh
- name: The `git diff` showing whether the pre-commit mandated extra changes to the repository files
if: failure()
run: git diff
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 0.15.3
- name: terraform validate
env:
AWS_DEFAULT_REGION: us-west-2
run: |
cd "$GITHUB_WORKSPACE"
for dir in $(find modules examples -type d -not \( -name ".?*" \) -maxdepth 1 -mindepth 1);
do
if [[ "$dir" == "modules/transit_gateway_peering" ]];
then
echo "Skipping directory: $dir"
echo "Terraform does not support validating a module which uses an aliased provider (module-specific; validating an entire configuration works fine)."
continue
fi
echo "Processing directory: $dir"
cd "$GITHUB_WORKSPACE/$dir"
terraform init -backend=false
terraform validate
done