From e470565839f2c0c6f89997e7883304d9bd17d4de Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Thu, 22 Feb 2024 16:18:13 -0500 Subject: [PATCH] Update GitHub Actions --- .github/workflows/ci.yaml | 23 ++++++++++++----------- .github/workflows/dependencies.yaml | 4 ++-- .github/workflows/periodic-ci.yaml | 11 ++++++----- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 49806c7..2efd61d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,15 +24,15 @@ jobs: timeout-minutes: 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Run pre-commit - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 test: @@ -46,9 +46,10 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tox uses: lsst-sqre/run-tox@v1 @@ -66,7 +67,7 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # full history for setuptools_scm @@ -76,7 +77,7 @@ jobs: - name: Run tox uses: lsst-sqre/run-tox@v1 with: - python-version: "3.11" + python-version: "3.12" tox-envs: "docs" # Add docs-linkcheck when the docs and PyPI package are published # tox-envs: "docs,docs-linkcheck" @@ -105,14 +106,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # full history for setuptools_scm - name: Build and publish uses: lsst-sqre/build-and-publish-to-pypi@v2 with: - python-version: "3.11" + python-version: "3.12" upload: false pypi: @@ -132,11 +133,11 @@ jobs: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # full history for setuptools_scm - name: Build and publish uses: lsst-sqre/build-and-publish-to-pypi@v2 with: - python-version: "3.11" + python-version: "3.12" diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 96075c9..3c54a1b 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -11,12 +11,12 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run neophile uses: lsst-sqre/run-neophile@v1 with: - python-version: "3.11" + python-version: "3.12" mode: pr types: pre-commit app-id: ${{ secrets.NEOPHILE_APP_ID }} diff --git a/.github/workflows/periodic-ci.yaml b/.github/workflows/periodic-ci.yaml index c7e447f..9ba80b5 100644 --- a/.github/workflows/periodic-ci.yaml +++ b/.github/workflows/periodic-ci.yaml @@ -20,9 +20,10 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tests in tox uses: lsst-sqre/run-tox@v1 @@ -36,12 +37,12 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build docs in tox uses: lsst-sqre/run-tox@v1 with: - python-version: "3.11" + python-version: "3.12" tox-envs: "docs" use-cache: false @@ -50,12 +51,12 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # full history for setuptools_scm - name: Build and publish uses: lsst-sqre/build-and-publish-to-pypi@v2 with: - python-version: "3.11" + python-version: "3.12" upload: false