diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b6df08bb..05f33654 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -20,7 +20,7 @@ on: jobs: dist: name: Create dist - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -37,7 +37,7 @@ jobs: id-token: write # for trusted publishing attestations: write # for trusted publishing contents: read - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.event_name == 'release' && github.event.action == 'published' steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ff448fe..5c900674 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ env: jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -44,14 +44,19 @@ jobs: strategy: fail-fast: false matrix: - environment: - - tests-py311 - - tests-py314 - - tests-numpy1 - - tests-backends - - tests-backends-py311 - - tests-nogil - runs-on: [ubuntu-latest] + include: + - environment: tests-py311 + runs-on: ubuntu-latest + - environment: tests-py314 + runs-on: ubuntu-slim + - environment: tests-numpy1 + runs-on: ubuntu-slim + - environment: tests-nogil + runs-on: ubuntu-slim + - environment: tests-backends + runs-on: ubuntu-latest + - environment: tests-backends-py311 + runs-on: ubuntu-latest environment: name: ci-checks diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 48660dec..4c61170a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ concurrency: jobs: docs-build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: read @@ -40,7 +40,7 @@ jobs: name: Deploy if: ${{ github.event.workflow_run.event == 'push' }} needs: docs-build - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write # needed for the deploy step