Skip to content

refactor: Clean up DB sessions consistently #2303

refactor: Clean up DB sessions consistently

refactor: Clean up DB sessions consistently #2303

Workflow file for this run

name: lint
on: [push, pull_request]
defaults:
run:
shell: bash -el {0}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- run: ln -s "${CONDA_PREFIX}" .venv # Necessary for pyright.
- uses: pre-commit/[email protected]
with:
extra_args: --all-files --show-diff-on-failure
env:
PRE_COMMIT_USE_MICROMAMBA: 1