MAINT: Upgrade the remaining GitHub Actions. <!-- Thank you for contributing to Pyodide! All improvements are welcome,
     so don't be afraid to make a PR. -->

### Description

<!-- Please explain what your PR is about:
     - reasoning for the change
     - some details of updated code
     - any noteworthy choices to be aware of
	Please refer to any related issues by #<issue_id> -->

- https://github.com/actions/checkout/releases
- https://github.com/docker/build-push-action/releases
- https://github.com/docker/login-action/releases
- https://github.com/docker/metadata-action/releases
- https://github.com/pypa/gh-action-pypi-publish/releases
- https://github.com/test-summary/action/releases

Also, add a final check to the CPython upgrade instructions.

### Checklists

<!-- Note:
     If you think some of these steps are not necessary for your PR,
     remove those checkboxes, or mark them as checked. If you keep unchecked checkboxes,
     we will assume that your PR is not ready to be merged  -->

- [ ] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [ ] Add new / update outdated documentation

package:
  name: pyerfa
  version: 2.0.0.1
  top-level:
    - erfa
source:
  url: https://files.pythonhosted.org/packages/78/fd/0148f0e54f0c6f48a141409df65d74a5f1dae2e139f23d50a43c58c16098/pyerfa-2.0.0.1.tar.gz
  sha256: 2fd4637ffe2c1e6ede7482c13f583ba7c73119d78bef90175448ce506a0ede30
  patches:
    # Patch fixes error:
    #
    # erfa/ufunc.c:9916:54: error: incompatible function pointer types
    # initializing 'PyUFuncGenericFunction' ... with an expression of type ...
    #
    # It has been upstreamed: https://github.com/liberfa/pyerfa/pull/89
    # Make sure to remove python3.10 erfa_generator.py below when we remove the
    # patch.
    - patches/0001-Fix-compilation-with-Wincompatible-function-pointer-.patch
build:
  script: |
    # regenerate erfa/ufunc.c from our patched erfa/ufunc.c.templ.
    python3 -m pip install jinja2
    python3 erfa_generator.py
requirements:
  host:
    - numpy
  run:
    - numpy
about:
  home: https://github.com/liberfa/pyerfa
  PyPI: https://pypi.org/project/pyerfa
  summary: Python bindings for ERFA
  license: BSD 3-Clause License

package:
  name: pyerfa
  version: 2.0.0.1
  top-level:
    - erfa
source:
  url: https://files.pythonhosted.org/packages/78/fd/0148f0e54f0c6f48a141409df65d74a5f1dae2e139f23d50a43c58c16098/pyerfa-2.0.0.1.tar.gz
  sha256: 2fd4637ffe2c1e6ede7482c13f583ba7c73119d78bef90175448ce506a0ede30
  patches:
    # Patch fixes error:
    #
    # erfa/ufunc.c:9916:54: error: incompatible function pointer types
    # initializing 'PyUFuncGenericFunction' ... with an expression of type ...
    #
    # It has been upstreamed: https://github.com/liberfa/pyerfa/pull/89
    # Make sure to remove python3.10 erfa_generator.py below when we remove the
    # patch.
    - patches/0001-Fix-compilation-with-Wincompatible-function-pointer-.patch
build:
  script: |
    # regenerate erfa/ufunc.c from our patched erfa/ufunc.c.templ.
    python3 -m pip install jinja2
    python3 erfa_generator.py
requirements:
  host:
    - numpy
  run:
    - numpy
about:
  home: https://github.com/liberfa/pyerfa
  PyPI: https://pypi.org/project/pyerfa
  summary: Python bindings for ERFA
  license: BSD 3-Clause License
