ci: temporary runner capability probe (NOT for merge) #36

Closed
mumuni-bot wants to merge 3 commits from ci/runner-probe into main
Showing only changes of commit 509e461a60 - Show all commits
+17
View File
@@ -0,0 +1,17 @@
name: Runner Probe
on:
pull_request:
branches: [main]
jobs:
probe:
runs-on: ubuntu-latest
steps:
- name: capabilities
run: |
echo "=== PATH ==="; echo "$PATH"
echo "=== interpreters ==="
for c in python python3 node npx bash sh git curl wget apt apk pip pip3; do command -v $c >/dev/null 2>&1 && echo "HAVE $c: $(command -v $c)"; done
echo "=== os ==="; cat /etc/os-release 2>/dev/null | head -4
echo "=== docker visible? ==="; command -v docker && timeout 10 docker images 2>&1 | head -10
echo "=== internet? ==="; timeout 8 curl -sI https://github.com >/dev/null 2>&1 && echo ONLINE || echo OFFLINE
exit 0