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
|
||||
run-name: 🟢 System Health Check
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
health-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- run: python sanity_check.py
|
||||
- name: 📥 Check out repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 🐍 Run Sanity Script
|
||||
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