v0.5.1 add listener on 'page' in context, add screenshots, fix Laminar.flush #52
Workflow file for this run
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: Ensure Version Match Between pyproject.toml and src/lmnr/version.py | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: ["main"] | |
jobs: | |
ensure-version-match: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Install toml-cli | |
run: uv add toml-cli | |
- name: Ensure version match | |
run: | | |
SDK_VERSION=$(cat src/lmnr/version.py | grep __version__ | head -n1 | cut -d'=' -f2 | sed 's/[" '"'"']//g') | |
PYPROJECT_VERSION=$(uv run toml get --toml-path=pyproject.toml project.version) | |
if [ "$SDK_VERSION" != "$PYPROJECT_VERSION" ]; then | |
echo "Version mismatch between src/lmnr/version.py and pyproject.toml" | |
echo "LIB_VERSION: $LIB_VERSION" | |
echo "PYPROJECT_VERSION: $PYPROJECT_VERSION" | |
exit 1 | |
fi | |
echo "Version match between src/lmnr/version.py and pyproject.toml" |