Skip to content

Bump cryptography from 39.0.1 to 41.0.0 #57

Bump cryptography from 39.0.1 to 41.0.0

Bump cryptography from 39.0.1 to 41.0.0 #57

Workflow file for this run

name: build test
on:
# allows running this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
# By default, GitHub will maximize the number of jobs run in parallel
# depending on the available runners on GitHub-hosted virtual machines.
# max-parallel: 8
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
env:
TOXENV: ${{ matrix.tox-env }}
TOX_SKIP_MISSING_INTERPRETERS: False
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip version
run: pip install -U pip
- name: Install test dependencies
run: pip install tox tox-gh-actions poetry
- name: Run tox
run: tox
tag_release:
name: tag current release
if: endsWith(github.ref, '/master')
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install build dependencies
run: |
pip install poetry
- name: Fetch version
id: fetch_version
run: echo "::set-output name=version_nr::$(poetry version -s)"
- name: Build a binary wheel and a source tarball
run: |
poetry build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
# use token provided by Actions
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.fetch_version.outputs.version_nr }}
with:
tag_name: ${{env.VERSION}}
release_name: Release ${{env.VERSION}}
draft: false
prerelease: false
- name: PyPI Publishing
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_DEPLOYMENT_API_KEY }}