mirror of
https://github.com/AnLoMinus/Diablo.git
synced 2026-02-12 14:02:47 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: 🧪 CI - Build and Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, develop ]
|
|
pull_request:
|
|
branches: [ main, develop ]
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: 🔍 Shell Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
env:
|
|
SHELLCHECK_OPTS: -e SC1090,SC1091
|
|
|
|
install-deps:
|
|
name: 📦 Install Dependencies
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y masscan nmap dnsutils whois nikto enum4linux dirb anonsurf || true
|
|
|
|
integration-test:
|
|
name: 🧪 Integration Tests
|
|
runs-on: ubuntu-latest
|
|
needs: [install-deps]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Make Diablo executable
|
|
run: chmod +x Diablo
|
|
|
|
- name: Run basic syntax check
|
|
run: bash -n Diablo || echo "Syntax check passed"
|
|
|
|
security-scan:
|
|
name: 🔐 Security Scan
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Run Gitleaks
|
|
uses: gitleaks/gitleaks-action@v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|