Skip to content

build(deps): update pyjwt[crypto] requirement from <2.10,>=2.8 to >=2.8,<2.11 #934

build(deps): update pyjwt[crypto] requirement from <2.10,>=2.8 to >=2.8,<2.11

build(deps): update pyjwt[crypto] requirement from <2.10,>=2.8 to >=2.8,<2.11 #934

Workflow file for this run

# 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