updated twine version to fix e2e tests #106
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
name: formatting check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
manual: | |
description: "Trigger manually" | |
required: false | |
jobs: | |
format: | |
name: formatting check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Python version | |
id: get-python-versions | |
run: | | |
MINIMUM_VERSION=$(grep -oP '__version_minimum_python__ = "\K.*(?=")' leeger/_version.py) | |
echo "CURRENT_VERSION=$MINIMUM_VERSION" >> $GITHUB_ENV | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.CURRENT_VERSION }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
make deps | |
- name: Check Formatting | |
run: make fmt-check |