feat: adjust set command to support version ranges #794
Workflow file for this run
This file contains 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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: build and test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install and configure poetry | |
uses: actions/checkout@v4 | |
- run: | | |
python -m pip install --upgrade pip | |
pipx install poetry | |
- name: Configure poetry | |
run: | | |
poetry config virtualenvs.in-project false | |
poetry config cache-dir ~/cache/.poetry | |
- name: Build package | |
run: | | |
poetry install | |
tests: | |
needs: build | |
uses: ./.github/workflows/tests.yml | |