[Snyk] Security upgrade requests from 2.31.0 to 2.33.0 #38
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Upgrade pip | |
| run: pip install --upgrade pip | |
| - name: Install Tox and any other packages | |
| run: pip install tox | |
| - name: Lint | |
| if: matrix.python-version == '3.12' | |
| run: | | |
| pip install flake8 black | |
| flake8 git_stacktrace | |
| black --check . | |
| - name: Run Tests via Tox | |
| # Run tox using the version of Python in `PATH` | |
| run: tox -e py |