Bump yappi from 1.6.9 to 1.6.10 in /server #2048
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: Server style | |
on: | |
push: | |
branches: [ dev, stable, prod ] | |
paths: | |
- 'server/**' | |
pull_request: | |
branches: [ dev, stable, prod ] | |
paths: | |
- 'server/**' | |
jobs: | |
black: | |
name: black | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: pip3 install -U pip wheel setuptools $(grep black requirements.txt) | |
working-directory: ./server | |
- name: Run checks | |
run: black --check venueless tests | |
working-directory: ./server | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: pip3 install -U pip wheel setuptools $(grep flake8 requirements.txt) | |
working-directory: ./server | |
- name: Run checks | |
run: flake8 venueless tests | |
working-directory: ./server | |
isort: | |
name: isort | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: pip3 install -U pip wheel setuptools $(grep isort requirements.txt) | |
working-directory: ./server | |
- name: Run checks | |
run: isort -c venueless tests | |
working-directory: ./server |