Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DamKast committed Nov 7, 2024
1 parent 43cf068 commit 8a5e322
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
python-version: ["3.10.8", "3.11.0", "3.12"]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: venv
key: >-
Expand All @@ -53,15 +53,15 @@ jobs:
needs: prepare-base
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
id: python
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: venv
key: >-
Expand All @@ -75,7 +75,7 @@ jobs:
exit 1
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.PRE_COMMIT_CACHE_PATH }}
key: |
Expand All @@ -88,7 +88,7 @@ jobs:
. venv/bin/activate
pre-commit install-hooks
- name: Cache pre-commit environment
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ${{ env.PRE_COMMIT_CACHE_PATH }}
key: ${{ steps.cache-precommit.outputs.cache-primary-key }}
Expand All @@ -103,15 +103,15 @@ jobs:
needs: pre-commit
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
id: python
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: venv
key: >-
Expand All @@ -125,7 +125,7 @@ jobs:
exit 1
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.PRE_COMMIT_CACHE_PATH }}
key: |
Expand Down Expand Up @@ -153,15 +153,15 @@ jobs:
Run tests Python ${{ matrix.python-version }}
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
id: python
with:
python-version: ${{ matrix.python-version }}
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: venv
key: >-
Expand Down

0 comments on commit 8a5e322

Please sign in to comment.