Correct site_url, theme language key, navigation.footer flag, and rem… #9
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: Build Check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Verify Package Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Build package | |
| run: uv build --sdist --wheel --out-dir dist/ | |
| - name: List distribution file sizes | |
| run: du -h dist/* | |
| - name: Check distribution metadata | |
| run: uv run --with twine twine check --strict dist/* | |
| - name: Install wheel into isolated directory | |
| run: | | |
| mkdir ./tmp_install | |
| uv pip install --target=./tmp_install $(find dist -type f -name "*.whl" | head -1) | |
| - name: Verify package imports | |
| run: | | |
| PYTHONPATH=./tmp_install uv run python -c "import solarfarmer; print(solarfarmer.__version__)" |