File tree Expand file tree Collapse file tree 3 files changed +59
-3
lines changed Expand file tree Collapse file tree 3 files changed +59
-3
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " pip"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ ci :
11+ strategy :
12+ matrix :
13+ pyVersion : [ '3.9' ]
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v2
18+
19+ - name : Unshallow
20+ run : git fetch --prune --unshallow
21+
22+ - name : Install Python
23+ uses : actions/setup-python@v4
24+ with :
25+ python-version : ${{ matrix.pyVersion }}
26+
27+
28+ - name : Install Poetry
29+ uses : snok/install-poetry@v1
30+ with :
31+ virtualenvs-create : true
32+ virtualenvs-in-project : true
33+ installer-parallel : true
34+
35+
36+ - name : Load cache
37+ id : cached-poetry-dependencies
38+ uses : actions/cache@v3
39+ with :
40+ path : .venv
41+ key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
42+
43+
44+ - name : Install project dependencies
45+ if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
46+ run : poetry install --no-interaction --no-root --with=dev
47+
48+
49+ - name : Verify linting
50+ run : make verify
You can’t perform that action at this time.
0 commit comments