Skip to content

Update to python 3.8 #84

Update to python 3.8

Update to python 3.8 #84

Workflow file for this run

name: Validate code
on:
- push
jobs:
test:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set-up python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Create cache
id: cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-python-
- name: Install python requirements
run: pip install -r requirements.txt
- name: Run lint
run: flake8 unaflow
- name: Make package
run: |
python setup.py sdist bdist_wheel
twine check dist/*