diff --git a/.github/workflows/check-yaml-format.yml b/.github/workflows/check-yaml-format.yml index 6ca9a4439..f6a1d046d 100644 --- a/.github/workflows/check-yaml-format.yml +++ b/.github/workflows/check-yaml-format.yml @@ -20,10 +20,10 @@ jobs: files: | _data/**/*.yml - - name: Install yamllint - if: steps.changed-files.outputs.any_changed == 'true' - run: pipx install yamllint + - uses: astral-sh/setup-uv@v3 + with: + version: ">=0.4.30" - name: Lint YAML files if: steps.changed-files.outputs.any_changed == 'true' - run: yamllint ${{ steps.changed-files.outputs.all_changed_files }} + run: uvx run yamllint ${{ steps.changed-files.outputs.all_changed_files }} diff --git a/.github/workflows/metadata-extract-airbyte.yml b/.github/workflows/metadata-extract-airbyte.yml index 50dd8e4e7..9eaa74638 100644 --- a/.github/workflows/metadata-extract-airbyte.yml +++ b/.github/workflows/metadata-extract-airbyte.yml @@ -22,9 +22,12 @@ jobs: steps: - uses: actions/checkout@v4.2.2 + - 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 diff --git a/.github/workflows/metadata-extract-extractors.yml b/.github/workflows/metadata-extract-extractors.yml index 3d23e7a09..cdd05d2aa 100644 --- a/.github/workflows/metadata-extract-extractors.yml +++ b/.github/workflows/metadata-extract-extractors.yml @@ -23,9 +23,12 @@ jobs: steps: - uses: actions/checkout@v4.2.2 + - 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 diff --git a/.github/workflows/metadata-extract-loaders.yml b/.github/workflows/metadata-extract-loaders.yml index 07f5d4b96..8ebee156e 100644 --- a/.github/workflows/metadata-extract-loaders.yml +++ b/.github/workflows/metadata-extract-loaders.yml @@ -22,9 +22,12 @@ jobs: steps: - uses: actions/checkout@v4.2.2 + - 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 diff --git a/.github/workflows/metadata-refresh.yml b/.github/workflows/metadata-refresh.yml index 727bbe768..dc35eaaf2 100644 --- a/.github/workflows/metadata-refresh.yml +++ b/.github/workflows/metadata-refresh.yml @@ -34,8 +34,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@main + run: uv tool install git+https://github.com/meltano/hub-utils.git@main - name: Download Raw JSON Output run: hub-utils download-metadata "/home/runner/work/downloaded_data" --ignore-list-str="extractors/tap-ga4/connorflyn,extractors/tap-ga4/meltanolabs,extractors/tap-ga4/sehnem,extractors/tap-jira/meltanolabs,extractors/tap-salesforce-commerce/hotgluexyz,loaders/target-s3/crowemi,loaders/target-s3-parquet/jkausti,extractors/tap-rest-api-msdk/widen" @@ -45,7 +49,7 @@ jobs: - name: Get current date id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - name: Create Pull Request uses: peter-evans/create-pull-request@v7 diff --git a/.github/workflows/test-plugin-command.yml b/.github/workflows/test-plugin-command.yml index 266d848ca..7ddfd7309 100644 --- a/.github/workflows/test-plugin-command.yml +++ b/.github/workflows/test-plugin-command.yml @@ -86,7 +86,7 @@ jobs: id: plugin-install run: | pipx install ${{ env.PIP_URL }} 2>&1 | tee install-output.txt - echo "::set-output name=failed::${PIPESTATUS[0]}" + echo "failed=${PIPESTATUS[0]}" >> $GITHUB_ENV - name: Create installation failure log if: steps.plugin-install.outputs.failed == '1'