Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: ["3.10", "3.14"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- run: |
uv run --python=3.14 --group=dev mypy --python-version=${{ matrix.python-version }}
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- run: |
uv run --python=3.14 --group=dev flake8 $(git ls-files | grep 'py$') --color=always
Expand All @@ -57,7 +57,7 @@ jobs:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- run: |
uv run --python=${{ matrix.python-version }} --group=dev pytest -vv
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# needed for PyPI trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- run: uv build
- name: Publish distribution to PyPI
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/typeshed_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout flake8-pyi on target branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.base_ref }}
path: old_plugin
- name: Checkout flake8-pyi on PR branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: new_plugin
- name: Checkout typeshed
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: python/typeshed
path: typeshed
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install uv
Expand All @@ -61,7 +61,7 @@ jobs:
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
diff old_errors.txt new_errors.txt | tee errors_diff.txt
- name: Upload diff and PR number
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: typeshed_primer_errors
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/typeshed_primer_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Download errors
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: await require('.github/scripts/typeshed_primer_download_errors.js')({github, context})
- run: unzip errors.zip
- name: Post comment
id: post-comment
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: return await require('.github/scripts/typeshed_primer_post_comment.js')({github, context})
Expand Down
Loading