fix: use the icon provided by a Spotify installation when it is unava… #318
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
on: | |
push: | |
paths: | |
- "ignis/**" | |
- "examples/**" | |
- ".github/workflows/static.yaml" | |
pull_request: | |
paths: | |
- "ignis/**" | |
- "examples/**" | |
name: Static Analysis | |
jobs: | |
mypy-check: | |
name: Mypy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install system dependencies | |
run: | | |
sudo apt update | |
sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev.txt | |
pip install -r requirements.txt | |
- name: Run mypy analysis | |
run: | | |
mypy | |
ruff-check: | |
name: Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff | |
- name: Check code | |
run: ruff check | |
- name: Check format | |
run: ruff format --check |