forked from meltano/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1677-fix-do-not-use-start-date-with-non-date…
…-columns
- Loading branch information
Showing
135 changed files
with
3,497 additions
and
1,938 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
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ types: | |
- docs | ||
- feat | ||
- fix | ||
- packaging | ||
- perf | ||
- refactor | ||
- revert | ||
|
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: API Changes | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- singer_sdk/** | ||
- .github/workflows/api-changes.yml | ||
- CHANGELOG.md | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: # added using https://github.com/step-security/secure-repo | ||
contents: read | ||
|
||
jobs: | ||
check-api-changes: | ||
name: Check API Changes | ||
runs-on: ubuntu-latest | ||
env: | ||
NOXSESSION: api | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
|
||
- name: Install tools | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
python -Im pip install -U pip | ||
pipx install griffe nox | ||
pipx inject nox nox-poetry | ||
pipx list | ||
- name: Set REF | ||
id: set-ref | ||
if: always() && !startsWith(github.head_ref, 'release/') | ||
run: | | ||
echo "ref=${{ github.event.pull_request.base.sha }}" >> $GITHUB_OUTPUT | ||
# Check API against the latest commit on the base branch | ||
- name: Run Nox | ||
run: | | ||
nox -- ${{ steps.set-ref.outputs.ref }} |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
pip==24.0 | ||
poetry==1.8.2 | ||
poetry-plugin-export==1.7.1 | ||
poetry-dynamic-versioning==1.3.0 | ||
pre-commit==3.7.0 | ||
griffe==0.48.0 | ||
pip==24.2 | ||
poetry==1.8.3 | ||
poetry-plugin-export==1.8.0 | ||
poetry-dynamic-versioning==1.4.0 | ||
pre-commit==3.8.0 | ||
nox==2024.4.15 | ||
nox-poetry==1.0.3 |
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 |
---|---|---|
|
@@ -3,10 +3,6 @@ name: Release | |
on: | ||
push: | ||
|
||
permissions: | ||
contents: write # Needed to upload artifacts to the release | ||
id-token: write # Needed for OIDC PyPI publishing | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -24,19 +20,46 @@ jobs: | |
name: publishing | ||
url: https://pypi.org/p/singer-sdk | ||
if: startsWith(github.ref, 'refs/tags/') | ||
permissions: | ||
id-token: write # Needed for OIDC PyPI publishing | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
- name: Upload wheel to release | ||
- name: Publish | ||
uses: pypa/[email protected] | ||
|
||
upload-to-release: | ||
name: Upload files to release | ||
runs-on: ubuntu-latest | ||
needs: [build] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
permissions: | ||
contents: write # Needed for uploading files to the release | ||
id-token: write # Needed for attestations | ||
attestations: write # Needed for attestations | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
- name: Upload wheel and sdist to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dist/*.whl | ||
file: dist/singer_sdk* | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true | ||
|
||
- name: Publish | ||
uses: pypa/[email protected] | ||
- uses: actions/attest-build-provenance@v1 | ||
id: attest | ||
with: | ||
subject-path: "./dist/singer_sdk*" | ||
- name: Upload attestations to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
file: ${{ steps.attest.outputs.bundle-path }} | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
asset_name: attestations.intoto.jsonl |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ version: 2 | |
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
python: "3.12" | ||
|
||
sphinx: | ||
builder: html | ||
|
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
Oops, something went wrong.