Bump mamba-org/setup-micromamba from 1 to 2 #467
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: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install the package | |
run: | | |
python setup.py develop --no-deps | |
- name: Install isort / flake8 / black | |
run: | | |
pip install isort flake8 black | |
- name: Run isort | |
run: | | |
isort --check-only physical_validation | |
- name: Run black | |
run: | | |
black physical_validation --check | |
- name: Run flake8 | |
run: | | |
flake8 physical_validation |