From 0fffa53cbf4cf50723c0af75be090efdea1b9adf Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Sat, 12 Oct 2024 16:05:30 +0800 Subject: [PATCH] update the git actions --- .github/workflows/main.yml | 8 ++++---- .github/workflows/publish.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56c16ef..9856131 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shogo82148/actions-setup-redis@v1 with: @@ -32,7 +32,7 @@ jobs: - run: redis-cli ping - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -44,7 +44,7 @@ jobs: - name: Upload test coverage if: ${{ !env.ACT }} - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: # Artifact name name: Python${{ matrix.python-version }} Test Coverage diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 661758a..9a8bec2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,11 +10,11 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" - name: install dependencies run: make dev