Skip to content

Commit

Permalink
Try using just 1 GHA workflow file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachaa-Thanasius committed Aug 27, 2024
1 parent ee1094c commit dcedb96
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 37 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@ on:
workflow_dispatch:

jobs:
typing:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]

name: Pyright - ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Run Pyright on ${{ matrix.python-version }}
uses: jakebailey/pyright-action@v2
with:
python-version: ${{ matrix.python-version }}

test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/lint.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
deferred
========

|License| |Pyright| |Ruff| |pre-commit|
|License| |Pyright| |Ruff| |pre-commit|

.. |License| image:: https://img.shields.io/github/license/Sachaa-Thanasius/deferred.svg
:target: https://opensource.org/licenses/MIT
Expand Down

0 comments on commit dcedb96

Please sign in to comment.