In mtcs, reduce m1m3 setting time. #1066
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 config --set solver classic | |
$CONDA/bin/conda install -c lsstts -c conda-forge pre-commit ts-pre-commit-config python=3.11 -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 |