Remove actions/setup-python steps because uv run and uv sync take care of installing python.

This commit is contained in:
Jelmer Draaijer 2024-09-16 15:54:10 +02:00
parent 0a291c1ec1
commit 5c4abe5b78
4 changed files with 0 additions and 20 deletions

View File

@ -27,9 +27,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync
- name: Run tests
@ -61,9 +58,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync
- name: Docker ${{ matrix.script.name }}
@ -108,9 +102,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync
- uses: actions/setup-node@v4

View File

@ -21,9 +21,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Create Django Major Issue
run: uv run scripts/create_django_issue.py
env:

View File

@ -19,10 +19,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set git details
run: |
git config --global user.name "github-actions"

View File

@ -22,10 +22,6 @@ jobs:
uses: astral-sh/setup-uv@v2
with:
enable-cache: "true"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Update list
run: uv run scripts/update_contributors.py
env: