chore(deps-dev): Bump commitizen from 3.5.2 to 3.5.4 (#1438) #2556
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: Lint | |
on: | |
push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
name: Python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Update Pip | |
run: | | |
pip install --requirement=requirements.txt pip | |
pip --version | |
- name: Update Pip in virtual environments | |
shell: python | |
run: | | |
import os | |
import pip | |
with open(os.environ["GITHUB_ENV"], mode="a") as io: | |
print(f"VIRTUALENV_PIP={pip.__version__}", file=io) | |
- name: Install Pipx | |
run: | | |
pip install --requirement=requirements.txt pipx | |
pipx --version | |
- name: Install Poetry | |
run: | | |
pipx install --pip-args=--requirement=requirements.txt poetry | |
poetry --version | |
- name: Install Nox | |
run: | | |
pipx install --pip-args=--requirement=requirements.txt nox | |
nox --version | |
- name: Run Nox workflow | |
run: | | |
nox -p ${{ matrix.python-version }} | |
env: | |
DOCSEARCH_APP_ID: ${{ vars.DOCSEARCH_APP_ID }} | |
DOCSEARCH_API_KEY: ${{ vars.DOCSEARCH_API_KEY }} | |
DOCSEARCH_INDEX_NAME: ${{ vars.DOCSEARCH_INDEX_NAME }} |