Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScri… #649
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: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.14' | |
| - name: Install dependencies | |
| run: uv sync --frozen | |
| - name: Run ruff | |
| run: uv run ruff check . --select E9,F63,F7,F82 --ignore F821,F722 | |
| button-config-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.14' | |
| - name: Install dependencies | |
| run: uv sync --frozen --no-dev | |
| - name: Run button_extract | |
| run: uv run -m dev_tools.button_extract | |
| - name: Run config_updater | |
| run: uv run -m module.config.config_updater | |
| - name: Check for differences | |
| run: | | |
| git diff --exit-code |