Skip to content

chore: add .gitattributes for consistent LF line endings #2

chore: add .gitattributes for consistent LF line endings

chore: add .gitattributes for consistent LF line endings #2

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate docker-compose files
run: |
for f in docker/docker-compose.*.yml; do
echo "Validating \..."
docker compose -f "\" config -q
done
- name: Lint shell scripts
run: |
sudo apt-get install -y shellcheck
shellcheck tests/labs/*.sh docker/entrypoint.sh
test-lab-01:
name: Lab 01 — Standalone
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Run Lab 01
run: bash tests/labs/test-lab-03-01.sh
security-scan:
name: Security Scan
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Run Trivy on Dockerfile
uses: aquasecurity/trivy-action@master
with:
scan-type: config
scan-ref: .