Skip to content

Commit

Permalink
ci: Update pip rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed Feb 15, 2025
1 parent 2891451 commit a3f53c6
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
run: |
brew upgrade
brew install lua
- name: Setup pip
- name: Create and start virtual environment
run : |
python3 -m venv venv
source venv/bin/activate
- name: Install pip
run: |
if [ "${{ matrix.os }}" = "macos-latest" ]; then
sudo pip3 install -U pip --break-system-packages
else
sudo pip3 install -U pip
fi
pip3 install -U pip
- name: Get pip cache
id: pip-cache
run: |
Expand All @@ -69,11 +69,7 @@ jobs:
${{ runner.os }}-pip-
- name: Setup cached item
run: |
if [ "${{ matrix.os }}" = "macos-latest" ]; then
pip3 install --user -r requirements.txt --break-system-packages
else
pip3 install --user -r requirements.txt
fi
pip3 install -r requirements.txt
- name: Setup Vim
id: 'vim'
uses: thinca/action-setup-vim@v2
Expand Down

0 comments on commit a3f53c6

Please sign in to comment.