From f58ec80d1e03c407e1898dc94c58f81b93aadd24 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 13 May 2024 14:10:15 -0500 Subject: [PATCH] ci: Update GitHub Actions * Update actions/checkout to v4. * Update actions/setup-python to v5. * Use python '3.x' for non tests. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/docs.yml | 6 +++--- .github/workflows/publish.yml | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ad976371..18718369a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,11 @@ jobs: runs-on: ubuntu-latest steps: - name: "Set up GitHub Actions" - 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.10" + python-version: "3.x" - name: "Install Python dependencies" run: | python -m pip install --upgrade uv @@ -52,9 +52,9 @@ jobs: python-version: ["3.8", "3.9", "3.10"] steps: - name: "Set up GitHub Actions" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Set up Python ${{ matrix.python-version }}" - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: "Install Python dependencies" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d4e16edf3..c7c5a2b2e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,11 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - name: "Set up GitHub Actions" - 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.10" + python-version: "3.x" - name: "Install Python dependencies" run: | python -m pip install --upgrade uv diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 83237285a..2981dc7c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: "Set up GitHub Actions" - 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.10" + python-version: "3.x" - name: "Build Python package" run: | pipx run build --installer uv