Skip to content

Commit 158eea5

Browse files
committed
fix: downgrade cache action version in workflows for compatibility
1 parent 04df098 commit 158eea5

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/pylint.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@v4
15-
with:
16-
python-version: ${{ matrix.python-version }}
17-
- name: Install dependencies
18-
run: |
19-
python -m pip install --upgrade pip
20-
pip install pylint
21-
- name: Analysing the code with pylint
22-
run: |
23-
pylint $(git ls-files '*.py')
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pylint
21+
- name: Analysing the code with pylint
22+
run: |
23+
pylint $(git ls-files '*.py')

.github/workflows/unittests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# manually if/when you want to upgrade Poetry, or if something goes wrong. This could be
3232
# mildly cleaner by using an environment variable, but I don't really care.
3333
- name: cache poetry install
34-
uses: actions/cache@v6
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.local
3737
key: poetry-1.4.2-0
@@ -56,7 +56,7 @@ jobs:
5656
# them in the cache key. I'm not, so it can be simple and just depend on the poetry.lock.
5757
- name: cache deps
5858
id: cache-deps
59-
uses: actions/cache@v6
59+
uses: actions/cache@v4
6060
with:
6161
path: .venv
6262
key: pydeps-${{ hashFiles('**/poetry.lock') }}

0 commit comments

Comments
 (0)