Skip to content

Commit

Permalink
update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Sep 25, 2024
1 parent ce10fbb commit 992d492
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:

# Checks out the repository in the current folder.
- name: Checks out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Set up the right version of Python
- name: Set up Python ${{ env.PYTHON_VERSION }}
id: python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand All @@ -62,7 +62,7 @@ jobs:
#
# Only when the context is exactly the same, we will restore the cache.
- name: Python Dependency Caching
uses: actions/cache@v2
uses: actions/cache@v4
id: python_cache
with:
path: ${{ env.PYTHONUSERBASE }}
Expand All @@ -81,7 +81,7 @@ jobs:
# do create a new environment when our pre-commit setup changes,
# we create a cache key based on relevant factors.
- name: Pre-commit Environment Caching
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.PRE_COMMIT_HOME }}
key: "precommit-0-${{ runner.os }}-${{ env.PRE_COMMIT_HOME }}-\
Expand Down Expand Up @@ -132,12 +132,12 @@ jobs:

# Checks out the repository in the current folder.
- name: Checks out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Set up the right version of Python
- name: Set up Python ${{ env.PYTHON_VERSION }}
id: python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand All @@ -148,7 +148,7 @@ jobs:
#
# Only when the context is exactly the same, we will restore the cache.
- name: Python Dependency Caching
uses: actions/cache@v2
uses: actions/cache@v4
id: python_cache
with:
path: ${{ env.PYTHONUSERBASE }}
Expand Down

0 comments on commit 992d492

Please sign in to comment.