Use project.optional-dependencies to manage optional dependencies i…
#49
This file contains hidden or 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: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| #--------------------------------------------collect-------------------------------------------- | |
| - name: ⬇️ Check out the repository | |
| uses: actions/checkout@v4 | |
| - name: 📁 Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: 📁 Collect dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt -r requirements-dev.txt | |
| #---------------------------------------------lint---------------------------------------------- | |
| - name: 🛠️ Run lint | |
| run: | | |
| python -m rubisco lint |