Skip to content

Commit 3aac0c4

Browse files
authoredSep 1, 2024
Merge pull request rahul-jha98#19 from R055A/update-gh-actions
Update main.yml workflow to use latest versions for improved performance
2 parents 41aff36 + 0aa0f43 commit 3aac0c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ jobs:
2121
# Sequence of tasks that will be executed as part of the job
2222
steps:
2323
# Checks-out repository under $GITHUB_WORKSPACE, so the job can access it
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
# Run using Python 3.8 for consistency and aiohttp
27-
- name: Set up Python 3.8
28-
uses: actions/setup-python@v2
27+
- name: Set up Python 3.12
28+
uses: actions/setup-python@v5
2929
with:
30-
python-version: '3.8'
30+
python-version: '3.12'
3131
architecture: 'x64'
3232

3333
# Cache dependencies. From:
3434
# https://github.com/actions/cache/blob/master/examples.md#python---pip
35-
- uses: actions/cache@v2
35+
- uses: actions/cache@v4
3636
with:
3737
path: ~/.cache/pip
3838
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

0 commit comments

Comments
 (0)
Please sign in to comment.