fix: linter issues & add additionnal test (#13) #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| env: | |
| PYTHON_VERSION: 3.13 | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # This permission is needed for private repositories. | |
| contents: read | |
| # IMPORTANT: this permission is mandatory for trusted publishing | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python & PDM | |
| uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install the project dependencies | |
| run: pdm install -d | |
| - name: Build & Publish package to PyPI | |
| run: pdm publish |