Bump urllib3 from 1.26.9 to 1.26.18 #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Continuous Integration | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out code from GitHub | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ hashFiles('**/Pipfile.lock') }} | |
restore-keys: | | |
pip- | |
- name: Install dependencies | |
run: | | |
pip install pipenv | |
pipenv sync --dev | |
- name: Run linters | |
run: pipenv run make | |
publish: | |
name: Publish a Python distribution to PyPI | |
runs-on: ubuntu-latest | |
needs: [test] | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
steps: | |
- name: Checking out code from GitHub | |
uses: actions/checkout@v2.3.1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | | |
pip install pipenv | |
pipenv sync --dev | |
- name: Build the package | |
run: pipenv run make dist | |
- name: Publish the package | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
user: __token__ | |
password: ${{ secrets.pypi_token }} |