Update versions for GH Actions and Geckodriver.

This commit is contained in:
erinhmclark
2025-01-15 17:35:42 +00:00
parent 05e0c9de93
commit 33686ea851
3 changed files with 13 additions and 20 deletions

View File

@@ -22,27 +22,20 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Extract Python Version from pyproject.toml
id: python-version
run: |
version=$(grep 'python =' pyproject.toml | awk -F'"' '{print $2}' | tr -d '^~<=>')
echo "python-version=$version" >> $GITHUB_ENV
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.python-version }}
python-version-file: pyproject.toml
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install "poetry>=2.0.0,<3.0.0"
pipx install "poetry>=2.0.0,<3.0.0"
- name: Install dependencies
run: |
poetry install --no-root
poetry install --no-interaction --no-root
- name: Build the package
run: |