diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2acae3d..cbdb907 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ef1109..1ddb74a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,61 +8,53 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install Tox and any other packages - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + run: pip install tox - name: Run Tox # Run tox using the version of Python in `PATH` run: tox -epy flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install Tox and any other packages - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + run: pip install tox - name: Lint with flake8 run: tox -eflake8 integration: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install Tox and any other packages - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + run: pip install tox - name: Run integration tests run: tox -eintegration twine: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install Tox and any other packages - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + run: pip install tox - name: Run twine-check run: tox -etwine