Merge pull request #14 from lsst-ts/enable-lower-jmax #81
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 | |
- 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 install python=3.11 -y | |
$CONDA/bin/conda install -c lsstts ts-pre-commit-config -y | |
$CONDA/bin/conda install -c conda-forge pre-commit -y | |
$CONDA/bin/generate_pre_commit_conf --skip-pre-commit-install | |
- name: Run pre commit checks | |
run: $CONDA/bin/pre-commit run --all |