Skip to content

fix(deps): update module github.com/charmbracelet/lipgloss to v2 #103

fix(deps): update module github.com/charmbracelet/lipgloss to v2

fix(deps): update module github.com/charmbracelet/lipgloss to v2 #103

Workflow file for this run

name: Test Terrafetch
on:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Terraform
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: "go.mod"
cache: false
- name: Build and test Terrafetch
run: |
echo "Building Terrafetch..."
make build
echo "Running Terrafetch..."
build/terrafetch > output.txt
# Validate that expected elements are present
echo "Validating output..."
grep -q "Terraform Files:" output.txt || { echo "Missing Terraform Files count"; exit 1; }
grep -q "Resources:" output.txt || { echo "Missing Resources count"; exit 1; }
grep -q "Variables:" output.txt || { echo "Missing Variables count"; exit 1; }
echo "✅ Validation passed: Output contains expected elements"