Skip to content

Commit

Permalink
Merge pull request #19 from R055A/update-gh-actions
Browse files Browse the repository at this point in the history
Update main.yml workflow to use latest versions for improved performance
  • Loading branch information
rahul-jha98 authored Sep 1, 2024
2 parents 41aff36 + 0aa0f43 commit 3aac0c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
# Sequence of tasks that will be executed as part of the job
steps:
# Checks-out repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Run using Python 3.8 for consistency and aiohttp
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.12'
architecture: 'x64'

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

0 comments on commit 3aac0c4

Please sign in to comment.