Skip to content

updated readme

updated readme #107

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