diff --git a/.github/actions/setup-python-env/action.yml b/.github/actions/setup-python-env/action.yml index c39ddf4..edce8b0 100644 --- a/.github/actions/setup-python-env/action.yml +++ b/.github/actions/setup-python-env/action.yml @@ -9,7 +9,7 @@ inputs: resolution: description: "Resolution strategy" required: true - default: "highest" + default: "frozen" uv-version: description: "uv version to use" required: true @@ -29,19 +29,14 @@ runs: enable-cache: "true" cache-suffix: ${{ inputs.python-version }}-${{ inputs.resolution }} + # Install eo-tides and all required dependencies. + # --all-extras will install all optional dependencies. + # resolution method will install either "highest"" + # versions of dependencies, or "lowest-direct" versions - name: Install Python dependencies - run: | - if [ "${{ inputs.resolution }}" == "lowest-direct" ]; then - uv sync --all-extras --resolution lowest-direct + if [ "${{ inputs.resolution }}" == "frozen" ]; then + uv sync --frozen --all-extras else - uv sync --frozen --all-extras + uv sync --all-extras --resolution ${{ inputs.resolution }} fi shell: bash - - # - name: Install Python dependencies - # # Install eo-tides and all required dependencies. - # # --all-extras will install all optional dependencies. - # # resolution method will install either "highest"" - # # versions of dependencies, or "lowest-direct" versions - # run: uv sync --all-extras --resolution lowest-direct - # shell: bash