chore(deps): update dependency sourcery to ~=1.9.0 #416
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: Linting | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, synchronize] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
cache-dependency-path: 'webclient/package.json' | |
- name: Install node dependencies | |
run: | | |
npm install -g openapi-format | |
npm install --prefix webclient | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: 'requirements*.txt' | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r data/requirements.txt -r requirements-dev.txt -r server/main-api/test/requirements.txt | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] |