Skip to content

Commit

Permalink
Refactor setup environment action
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Dec 17, 2024
1 parent 41dd30b commit ae28863
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ runs:
with:
python-version: ${{ inputs.python-version }}

- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
# Install a specific version of uv.
version: "0.5.9"
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
# Install a specific version of uv.
version: "0.5.9"

- name: Set up Python ${{ inputs.python-version }}
run: uv python install ${{ inputs.python-version }}
- name: Set up Python ${{ inputs.python-version }}
run: uv python install ${{ inputs.python-version }}

- name: Install hssm
if: steps.cache.outputs.cache-hit != 'true'
run: uv sync --all-extras --dev
- name: Install hssm
if: steps.cache.outputs.cache-hit != 'true'
run: uv sync --all-extras --dev

0 comments on commit ae28863

Please sign in to comment.