diff options
author | Stephen Finucane <stephen@that.guru> | 2023-03-31 11:02:54 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2023-03-31 11:02:54 +0100 |
commit | fbdc1e8626f78901ed4e675ef2f97b45343ea219 (patch) | |
tree | f257ada55a4c1a561aed010d9c63d21ed86159c5 | |
parent | c735451ee11587f1edd36e022be4dd4078df55a3 (diff) | |
download | fixtures-git-fbdc1e8626f78901ed4e675ef2f97b45343ea219.tar.gz |
github: Update actions, switch to 3.11 by default
Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r-- | .github/workflows/ci.yaml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0245db..2582e53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta - 3.11", "pypy-3.7", "pypy-3.8", "pypy-3.9"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.7", "pypy-3.8", "pypy-3.9"] steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: Install dependencies @@ -29,19 +29,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: python -m pip install docutils - name: Build docs run: rst2html.py README.rst README.html - name: Archive build results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: html-docs-build path: README.html @@ -53,19 +53,19 @@ jobs: if: github.event_name == 'push' steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: python -m pip install build - name: Build a binary wheel and a source tarball run: python -m build --sdist --wheel --outdir dist/ . - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} |