From 33fc2562c0e8a30bdad417d3fd2a5faa5c6b4eec Mon Sep 17 00:00:00 2001 From: Shantanu Kodgirwar Date: Wed, 30 Sep 2026 18:30:15 +0200 Subject: [PATCH 1/3] cancelling outdated run i.e. when a new push happens on a PR, the older one is cancelled --- .github/workflows/docs.yml | 10 ++++++++-- .github/workflows/test.yml | 11 +++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 409706d..112b429 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,16 +12,22 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6.0.2 - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v8.0.0 + with: + cache-dependency-glob: "pyproject.toml" - name: Install documentation dependencies run: uv sync --extra docs diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 94c6463..e96b3b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,13 +7,20 @@ on: branches: [main] workflow_dispatch: +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v6.0.2 @@ -25,4 +32,4 @@ jobs: - name: Install the project with `dev` run: uv sync --extra dev - name: Run tests - run: uv run pytest tests \ No newline at end of file + run: uv run pytest tests From cb57d2681e04f931fd7cfdc0fc03b003c833ba0b Mon Sep 17 00:00:00 2001 From: Shantanu Kodgirwar Date: Wed, 30 Sep 2026 18:30:37 +0200 Subject: [PATCH 2/3] dependabot checks github actions monthly --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3a626c3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly From 923755dd55e4cc8a4eda8d01b6755cf7ee151e17 Mon Sep 17 00:00:00 2001 From: Shantanu Kodgirwar Date: Wed, 30 Sep 2026 18:31:59 +0200 Subject: [PATCH 3/3] CI checks for python 3.10 as is currently supported anyway --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d39e5bd..8d46f8c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v6.0.2