Fix: install pip3 via apt-get
This commit is contained in:
@@ -9,16 +9,18 @@ jobs:
|
||||
- name: Checkout mã nguồn
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Kiểm tra Python hệ thống
|
||||
- name: Cài đặt Python và Pip
|
||||
run: |
|
||||
echo "✅ Sử dụng Python có sẵn trong runner"
|
||||
echo "✅ Cập nhật hệ thống và cài đặt pip..."
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python3-pip
|
||||
python3 --version
|
||||
pip3 --version
|
||||
|
||||
- name: Cài đặt dependencies
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
pip3 install -r requirements.txt
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
- name: Kiểm tra định dạng mã (Linting)
|
||||
run: python3 -m ruff check .
|
||||
|
||||
Reference in New Issue
Block a user