Skip to content

Commit

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

0 comments on commit 05767cb

Please sign in to comment.