Skip to content

Commit

Permalink
Move UV_CONSTRAINT to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 31, 2025
1 parent a7c82a7 commit 86fabfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/api-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

env:
FORCE_COLOR: 1
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
UV_VERSION: 0.5.26

permissions: # added using https://github.com/step-security/secure-repo
Expand Down Expand Up @@ -41,8 +42,6 @@ jobs:
version: ${{ env.UV_VERSION }}

- name: Install tools
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
uv tool install griffe
uv tool install nox
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/cookiecutter-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ concurrency:

env:
FORCE_COLOR: "1"
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt

jobs:
lint:
Expand All @@ -44,15 +45,11 @@ jobs:
python-version: 3.x

- name: Install Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
uv tool install nox
nox --version
- name: Run Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
nox --session=test_cookiecutter
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ concurrency:

env:
FORCE_COLOR: "1"
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
UV_VERSION: 0.5.26

jobs:
Expand Down Expand Up @@ -75,8 +76,6 @@ jobs:
version: ${{ env.UV_VERSION }}

- name: Install Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
uv tool install 'nox[uv]'
nox --version
Expand Down Expand Up @@ -126,8 +125,6 @@ jobs:
version: ${{ env.UV_VERSION }}

- name: Install Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
uv tool install 'nox[uv]'
nox --version
Expand Down Expand Up @@ -160,8 +157,6 @@ jobs:
version: ${{ env.UV_VERSION }}

- name: Install Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/requirements.txt
run: |
uv tool install 'nox[uv]'
nox --version
Expand Down

0 comments on commit 86fabfb

Please sign in to comment.