summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2023-03-31 11:04:48 +0100
committerGitHub <noreply@github.com>2023-03-31 11:04:48 +0100
commit43c39b4ab851254f62bd7a5a3c2eed10c5f8e1bb (patch)
treef257ada55a4c1a561aed010d9c63d21ed86159c5
parentc735451ee11587f1edd36e022be4dd4078df55a3 (diff)
parentfbdc1e8626f78901ed4e675ef2f97b45343ea219 (diff)
downloadfixtures-git-43c39b4ab851254f62bd7a5a3c2eed10c5f8e1bb.tar.gz
Merge pull request #78 from stephenfin/ci-tweaks
github: Update actions, switch to 3.11 by default
-rw-r--r--.github/workflows/ci.yaml26
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 }}