-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use uv in more places in CI (#1885)
- Loading branch information
1 parent
e6ce9fe
commit 821e8f3
Showing
9 changed files
with
58 additions
and
20 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,12 @@ jobs: | |
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
- name: Get Variants List - Airbyte | ||
id: get-variants-list-airbyte | ||
|
@@ -81,9 +84,12 @@ jobs: | |
- uses: actions/download-artifact@v3 | ||
with: | ||
name: extractor--${{ matrix.source-name }}--airbyte.json | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
- name: Upload Metadata | ||
run: hub-utils upload-airbyte "/home/runner/work/hub/hub/_data/meltano/${{ matrix.plugin-name }}" extractor--${{ matrix.source-name }}--airbyte.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,12 @@ jobs: | |
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
- name: Get Variants List - SDK Extractors (p1) | ||
id: get-variants-list-sdk-ex-p1 | ||
|
@@ -69,8 +72,12 @@ jobs: | |
aws-region: us-west-2 | ||
role-session-name: "GitHubActions" | ||
|
||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
# This starts the attempts to install and extract metadata. Since we don't | ||
# know what python versions are accepted we start with the latest and continue | ||
|
@@ -142,8 +149,12 @@ jobs: | |
aws-region: us-west-2 | ||
role-session-name: "GitHubActions" | ||
|
||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,12 @@ jobs: | |
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
- name: Get Variants List - SDK Loaders | ||
id: get-variants-list-sdk-loaders | ||
|
@@ -58,8 +61,12 @@ jobs: | |
aws-region: us-west-2 | ||
role-session-name: "GitHubActions" | ||
|
||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: ">=0.4.30" | ||
|
||
- name: Install hub-utils | ||
run: pipx install git+https://github.com/meltano/hub-utils.git@edgarrmondragon/fix/custom-python-executable | ||
run: uv tool install git+https://github.com/meltano/hub-utils.git@main | ||
|
||
# This starts the attempts to install and extract metadata. Since we don't | ||
# know what python versions are accepted we start with the latest and continue | ||
|
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 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 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 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 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