Fix: Remove setup-python action
All checks were successful
Sanity Check / health-check (push) Successful in 8s
All checks were successful
Sanity Check / health-check (push) Successful in 8s
This commit is contained in:
@@ -1,12 +1,21 @@
|
|||||||
name: Sanity Check
|
name: Sanity Check
|
||||||
run-name: 🟢 System Health Check
|
run-name: 🟢 System Health Check
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
health-check:
|
health-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: 📥 Check out repository
|
||||||
- uses: actions/setup-python@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
python-version: '3.9'
|
- name: 🐍 Run Sanity Script
|
||||||
- run: python sanity_check.py
|
run: |
|
||||||
|
# Встановлюємо python3, якщо його немає (на всяк випадок)
|
||||||
|
if ! command -v python3 &> /dev/null; then
|
||||||
|
echo "Installing Python..."
|
||||||
|
apt-get update && apt-get install -y python3
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Запускаємо скрипт
|
||||||
|
python3 sanity_check.py
|
||||||
|
|||||||
Reference in New Issue
Block a user