Skip to content

Commit e5d557a

Browse files
committed
Update lint CI configuration for CJ9
- Use Python 3.10 instead of 3.9 - Update action versions to the newest major versions - Remove caching configuration since it's not doing anything useful (and we would rather not have teams deal with caching issues)
1 parent 432b93a commit e5d557a

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
env:
17-
# Set an environment variable to select pip's cache directory for us to actually cache between runs.
18-
PIP_CACHE_DIR: /tmp/pip-cache-dir
1917
# The Python version your project uses. Feel free to change this if required.
20-
PYTHON_VERSION: 3.9
18+
PYTHON_VERSION: "3.10"
2119

2220
steps:
2321
# Checks out the repository in the current folder.
2422
- name: Checks out repository
25-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2624

2725
# Set up the right version of Python
2826
- name: Set up Python ${{ env.PYTHON_VERSION }}
29-
id: python
30-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v3
3128
with:
3229
python-version: ${{ env.PYTHON_VERSION }}
3330

34-
- name: Run pre-commit hooks.
35-
uses: pre-commit/action@v2.0.3
31+
- name: Run pre-commit hooks
32+
uses: pre-commit/action@v3.0.0

0 commit comments

Comments
 (0)