Skip to content

Commit 8c6272f

Browse files
authored
Update testing-piprootuser.yml
1 parent 80f1d73 commit 8c6272f

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/testing-piprootuser.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ on:
66
workflow_dispatch:
77
jobs:
88
test1:
9-
runs-on: ubuntu-24.04
10-
container:
11-
image: python
9+
runs-on: windows-latest
10+
1211
env:
1312
PIP_ROOT_USER_ACTION: ignore
1413

@@ -17,19 +16,13 @@ jobs:
1716
python: [3.11.6]
1817
steps:
1918
- uses: actions/checkout@v4
20-
- name: Install lsb-release
21-
run: |
22-
apt-get update
23-
apt-get install -y lsb-release
24-
# - name: Create /etc/lsb-release
25-
# run: |
26-
# echo "DISTRIB_RELEASE=22.04" | tee -a /etc/lsb-release
19+
2720
- name: Change ownership of /github/home
2821
run: chown -R $(whoami) /github/home
2922

3023
- name: Setup Python
31-
uses: actions/setup-python@v5
32-
# uses: lmvysakh/setup-python@rootuser_warning_fix
24+
uses: actions/setup-python@v6
25+
3326
with:
3427
python-version: ${{ matrix.python }}
3528
cache: 'pip'

0 commit comments

Comments
 (0)