tries to fix differences between pyproject and conda env (#514) #94
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: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Setup Python | |
uses: actions/setup-python@v4.7.1 | |
with: | |
python-version: '3.12' | |
- name: Install ruff | |
run: | | |
pip install ruff | |
- name: Lint with ruff | |
run: | | |
ruff check . |