Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Lint commit messages
uses: wagoid/commitlint-github-action@v6
uses: wagoid/commitlint-github-action@v6.2.1

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
Expand All @@ -45,10 +45,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
Expand All @@ -67,7 +67,7 @@ jobs:
pytest --cov=./ --cov-report=xml --cov-report=term

- name: Upload coverage report artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: coverage.xml
path: ./coverage.xml
Expand All @@ -80,23 +80,23 @@ jobs:
service: [codecov, codacy]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Download coverage report artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.3.0
with:
name: coverage.xml

- name: Upload coverage report to ${{ matrix.service }}
if: ${{ matrix.service == 'codecov' }}
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v5.4.3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

- name: Upload coverage report to ${{ matrix.service }}
if: ${{ matrix.service == 'codacy' }}
uses: codacy/codacy-coverage-reporter-action@v1
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml
Expand All @@ -112,20 +112,20 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.10.0

- name: Build and push Docker image to GitHub Container Registry
uses: docker/build-push-action@v6
uses: docker/build-push-action@v6.17.0
with:
context: .
push: true
Expand Down