build(deps): bump pyjwt from 2.9.0 to 2.10.0 #938
Workflow file for this run
This file contains 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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: CI/CD | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
environment: Testing | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Hatch | |
run: | | |
pipx install hatch==1.9.3 | |
# - name: Lint | |
# run: | | |
# hatch fmt --check | |
- name: Test | |
run: | | |
hatch run test.py${{ matrix.python-version }}:run | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
deploy: | |
needs: test | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
environment: Deployment | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
pipx run build | |
- name: Publish | |
uses: pypa/gh-action-pypi-publish@release/v1 |