File tree Expand file tree Collapse file tree 2 files changed +36
-20
lines changed
Expand file tree Collapse file tree 2 files changed +36
-20
lines changed Original file line number Diff line number Diff line change 1+ name : Link Status
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-16.04
8+ strategy :
9+ matrix :
10+ python-version : [ '3.6', '3.7' ]
11+ name : Python ${{ matrix.python-version }}
12+ steps :
13+ - name : Checkout to master
14+ uses : actions/checkout@master
15+
16+ - name : Setup python
17+ uses : actions/setup-python@v1
18+ with :
19+ python-version : ${{ matrix.python-version }}
20+ architecture : x64
21+
22+ - name : Pre-Commit
23+ run : |
24+ python -m pip install pre-commit
25+ pre-commit run -a
26+
27+ - name : Analysis (git diff)
28+ if : failure()
29+ run : git diff
30+
31+ - name : Publish package
32+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
33+ uses : pypa/gh-action-pypi-publish@master
34+ with :
35+ user : __token__
36+ password : ${{ secrets.pypi_linkstatus }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments