feat: track and include kernel commit in build outputs #33
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: Check | |
| on: | |
| pull_request: | |
| paths: | |
| - "**/*.sh" | |
| - "py/**/*.py" | |
| - "py/pyproject.toml" | |
| - "py/uv.lock" | |
| - "justfile" | |
| - ".github/workflows/check.yml" | |
| push: | |
| paths: | |
| - "**/*.sh" | |
| - "py/**/*.py" | |
| - "py/pyproject.toml" | |
| - "py/uv.lock" | |
| - "justfile" | |
| - ".github/workflows/check.yml" | |
| workflow_dispatch: | |
| jobs: | |
| bash: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6.0.1 | |
| - name: Install shell tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y just shellcheck shfmt | |
| - name: Run bash checks | |
| run: just fmt-check bash-check lint | |
| python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6.0.1 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.14" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| - name: Sync python dependencies | |
| run: uv sync --project py --group dev | |
| - name: Install required dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y just | |
| - name: Run python checks | |
| run: just py-lint py-check |