22 lines
472 B
YAML
22 lines
472 B
YAML
|
name: CI
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- name: Set up Python 3.8
|
||
|
uses: actions/setup-python@v1
|
||
|
with:
|
||
|
python-version: 3.8
|
||
|
- uses: actions/cache@v1
|
||
|
with:
|
||
|
path: ~/.cache/pip
|
||
|
key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }}
|
||
|
- name: Install dependencies
|
||
|
run: pip install -r dev-requirements.txt
|