Skip to content

Commit

Permalink
ci: update GitHub Actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelarogbonlo committed Jan 11, 2025
1 parent b3bf426 commit 36cadf4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
python-version: [3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4 # Updated from v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5 # Updated from v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements-dev.txt # Use your dev requirements file
pip install -r requirements-dev.txt
- name: Format code
run: |
Expand All @@ -50,10 +50,10 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand All @@ -66,7 +66,7 @@ jobs:
run: python -m build

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/

0 comments on commit 36cadf4

Please sign in to comment.