diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8935823..740ddc7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -13,16 +13,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: fetch-depth: 0 # fetch the entire repo history, required to guarantee setuptools_scm will pick up tags - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v6 with: - python-version: '3.10' + python-version: '3.13' - run: pip install build twine - name: Build sdist and wheel run: python -m build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: | dist/*.tar.gz @@ -36,12 +36,12 @@ jobs: # upload to PyPI when a GitHub Release is created if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v5 with: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.4.2 + - uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_PYCALPHAD_XML_TOKEN }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ba3a0dc..0c07c73 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -11,13 +11,13 @@ jobs: fail-fast: false max-parallel: 100 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.11", "3.12", "3.13"] pycalphad_development_version: [true, false] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: fetch-depth: 0 # fetch the entire repo history, required to guarantee versioneer will pick up the tags - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install pycalphad development version