Skip to content

feat: init Shellcode Executor v2.0 #2

feat: init Shellcode Executor v2.0

feat: init Shellcode Executor v2.0 #2

Workflow file for this run

name: Lint & Security
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Tools
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq clang-tidy cppcheck shellcheck
- name: Clang-Tidy
run: >
find src/ -name "*.c" -exec
clang-tidy {} -- -Isrc -std=c11 -D_GNU_SOURCE \;
- name: ShellCheck
run: shellcheck scripts/*.sh
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for secrets
run: |
if grep -r "password\|secret\|api_key\|token" src/ --include="*.c" -i -n; then
echo "Potential secrets found in source code!"
exit 1
fi