From 5c4abe5b783c03e05c19886a041d725b36510c78 Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Mon, 16 Sep 2024 15:54:10 +0200 Subject: [PATCH] Remove actions/setup-python steps because uv run and uv sync take care of installing python. --- .github/workflows/ci.yml | 9 --------- .github/workflows/django-issue-checker.yml | 3 --- .github/workflows/update-changelog.yml | 4 ---- .github/workflows/update-contributors.yml | 4 ---- 4 files changed, 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7069d808..df8af4f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/django-issue-checker.yml b/.github/workflows/django-issue-checker.yml index afbd1ead..486bda06 100644 --- a/.github/workflows/django-issue-checker.yml +++ b/.github/workflows/django-issue-checker.yml @@ -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: diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index b9601383..3c684b10 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -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" diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml index e7e058f8..10b59c60 100644 --- a/.github/workflows/update-contributors.yml +++ b/.github/workflows/update-contributors.yml @@ -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: