Skip to content

Commit

Permalink
Upgrade versions of checkout, setup-python and codecov-action, in ord…
Browse files Browse the repository at this point in the history
…er to remove deprecation warnings in ci pipeline.
  • Loading branch information
Ghulam Mustafa Majal committed Sep 18, 2024
1 parent a6fdd9e commit dd65b6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand All @@ -35,7 +35,9 @@ jobs:
run: poetry run pytest --cov=./ --cov-config=.coveragerc --cov-report=xml

- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: matrix.python-version == '3.8'

- name: Look for security vulnerabilities in dependencies
Expand Down

0 comments on commit dd65b6f

Please sign in to comment.