From 25d18686e4ef22cb2af589befec8d8229c038f69 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 30 May 2026 04:18:34 +0000 Subject: [PATCH] Atualizar .github/workflows/teste-shell.yml --- .github/workflows/teste-shell.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/teste-shell.yml b/.github/workflows/teste-shell.yml index 01a02af..6c6f34f 100644 --- a/.github/workflows/teste-shell.yml +++ b/.github/workflows/teste-shell.yml @@ -19,11 +19,24 @@ jobs: - name: 📦 Verificar ferramentas disponíveis run: | - echo "=== Ferramentas ===" - bash --version - python3 --version - curl --version | head -1 + echo "=== Sistema base ===" + cat /etc/os-release + echo "" + 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 run: | echo "=== Ping externo ==="