Skip to content

Merge pull request #187 from lsst-ts/tickets/DM-47890 #1126

Merge pull request #187 from lsst-ts/tickets/DM-47890

Merge pull request #187 from lsst-ts/tickets/DM-47890 #1126

Workflow file for this run

name: lint
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install
run: |
$CONDA/bin/conda config --set solver classic
$CONDA/bin/conda install -c lsstts -c conda-forge pre-commit ts-pre-commit-config python=3.11 identify>=2.6 -y
$CONDA/bin/conda install -c conda-forge pre-commit identify>=2.6 -y
$CONDA/bin/generate_pre_commit_conf --skip-pre-commit-install
- name: Run pre commit checks
run: $CONDA/bin/pre-commit run --all