Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Update actions to latest version
 - checkout v4
 - setup-python v5
   - use python-version instead of python per basic usage instructions https://github.com/marketplace/actions/setup-python#basic-usage
   - also resolves warnings while running job `Unexpected input(s) 'python', valid inputs are ['python-version', 'architecture']`
  • Loading branch information
jombr committed Aug 6, 2024
1 parent 95086ea commit b1621e1
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 @@ -20,11 +20,11 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python: ${{ matrix.python }}
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -41,11 +41,11 @@ jobs:
Coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python: '3.12'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit b1621e1

Please sign in to comment.