Atualizar .github/workflows/teste-shell.yml
Deploy via Script Externo / deploy (push) Waiting to run
ShellCheck CI / shellcheck (push) Waiting to run
Teste Shell Runner / shell-test (push) Successful in 5s

This commit is contained in:
2026-05-30 04:18:34 +00:00
parent 9362771f7c
commit 25d18686e4
+17 -4
View File
@@ -19,11 +19,24 @@ jobs:
- name: 📦 Verificar ferramentas disponíveis - name: 📦 Verificar ferramentas disponíveis
run: | run: |
echo "=== Ferramentas ===" echo "=== Sistema base ==="
bash --version cat /etc/os-release
python3 --version echo ""
curl --version | head -1 echo "=== Ferramentas disponíveis ==="
which bash && bash --version | head -1
which curl && curl --version | head -1
which wget && wget --version 2>&1 | head -1 || echo "wget: não instalado"
which git && git --version
- name: 📦 Instalar python3 se necessário
run: |
# Alpine usa apk, Ubuntu/Debian usa apt
if command -v apk &>/dev/null; then
apk add --no-cache python3
elif command -v apt-get &>/dev/null; then
apt-get update -qq && apt-get install -y -qq python3
fi
python3 --version
- name: 🌐 Testar conectividade externa - name: 🌐 Testar conectividade externa
run: | run: |
echo "=== Ping externo ===" echo "=== Ping externo ==="