Skip to content

Commit a6d9377

Browse files
authored
[Refactor:Developer] Update unsupported cache action (#108)
### Please check if the PR fulfills these requirements: * [ ] Tests for the changes have been added/updated (if possible) * [ ] Documentation has been updated/added if relevant ### What is the current behavior? <!-- List issue if it fixes/closes/implements one using the "Fixes #<number>" or "Closes #<number>" syntax --> Cache v2 is used by the python linting CI job but is fully unsupported and always failed. ### What is the new behavior? Cache v4 is used by the python linting CI job. ### Other information? <!-- Is this a breaking change? --> <!-- How did you test -->
1 parent 63cee7f commit a6d9377

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pylint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-python@v2
1111
with:
12-
python-version: '3.9'
12+
python-version: "3.9"
1313
- name: Cache Pip
14-
uses: actions/cache@v2
14+
uses: actions/cache@v4
1515
with:
1616
path: ~/.cache/pip
1717
key: ${{ runner.os }}-${{ github.job }}-pip-${{ github.sha }}
1818
restore-keys: |
19-
${{ runner.os }}-${{ github.job }}-pip-
19+
${{ runner.os }}-${{ github.job }}-pip-
2020
- name: Install python libraries
21-
run : |
21+
run: |
2222
python3 -m pip install --upgrade pip
2323
python3 -m pip install flake8 flake8-bugbear
2424
- name: Run python linting
25-
run : python3 -m flake8
25+
run: python3 -m flake8

0 commit comments

Comments
 (0)