diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3224949..5af6d19 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -11,14 +11,14 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 + - name: Set up Python 3.11 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.11' - name: Prepare artifacts run: | - python setup.py sdist + python -m build - name: Publish to PyPI env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6c7ff77..152b2a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,12 +8,12 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 + - name: Set up Python 3.11 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.11' - name: Run pre-commit run: | @@ -24,14 +24,14 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -49,10 +49,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 + - name: Set up Python 3.11 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.11' - name: Run sphinx run: |