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 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/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 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