Skip to content

fix: README heredoc issue, simplified CI pipeline #3

fix: README heredoc issue, simplified CI pipeline

fix: README heredoc issue, simplified CI pipeline #3

Workflow file for this run

name: Archnet CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.8.0
- name: Terraform Init
run: cd terraform && terraform init -backend=false
- name: Terraform Validate
run: cd terraform && terraform validate
- name: Validate YAML files
run: |
find . -name "*.yml" -o -name "*.yaml" | head -20
echo "YAML files found and listed"
- name: Check Shell Scripts
run: |
find . -name "*.sh" -exec bash -n {} \;
echo "Shell scripts validated"
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Trivy
uses: aquasecurity/trivy-action@master
with:
scan-type: fs
scan-ref: .
severity: CRITICAL
exit-code: 0