Skip to content

fix(check-version): change to return cached latest version only if valid #11

fix(check-version): change to return cached latest version only if valid

fix(check-version): change to return cached latest version only if valid #11

Workflow file for this run

name: Pull request workflow
on:
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: Install dependencies using pipenv
run: pipenv install --dev
- name: Run Flake8 using pipenv
run: pipenv run flake8 .
pytest:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: Install dependencies using pipenv
run: pipenv install --dev
- name: Run Flake8 using pipenv
run: pipenv run pytest