From 0661ad6b80f5755db2931ea8a597a863d31e8f94 Mon Sep 17 00:00:00 2001 From: Jakob Schnitzer Date: Mon, 26 May 2025 10:21:12 +0200 Subject: [PATCH 1/2] ci: set permissions --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5ec6b4..df231f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: ci on: push: pull_request: +permissions: + contents: read jobs: test: name: Run tests and build distribution From ff4900761ccec73b3f96cca8e84529930fd7b0ef Mon Sep 17 00:00:00 2001 From: Jakob Schnitzer Date: Mon, 26 May 2025 10:31:57 +0200 Subject: [PATCH 2/2] ci: install tox-uv to speed up tox runs --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df231f5..e638a4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies run: | - pip install tox wheel setuptools pre-commit + pip install tox tox-uv wheel setuptools pre-commit - name: Run lint run: >- pre-commit run -a