Configure GitHub Actions workflows to maximize reliability and maintainability. Follow these key practices: 1. **Always test with latest patches**: Use `check-latest: true` when setting up language environments to ensure you're testing with the most recent patch versions rather than potentially outdated cached versions.
Configure GitHub Actions workflows to maximize reliability and maintainability. Follow these key practices:
check-latest: true
when setting up language environments to ensure you’re testing with the most recent patch versions rather than potentially outdated cached versions.- uses: actions/setup-python@v5
with:
python-version: '3.12'
check-latest: true
publish-to-pypi:
needs: [create-sdist, build-wheels, build-wheel-pyodide]
include
rather than exclude
when it results in clearer, more maintainable matrix definitions for cross-platform testing.matrix:
package: [polars, polars-lts-cpu, polars-u64-idx]
os: [ubuntu-latest, macos-13]
architecture: [x86-64, aarch64]
include:
- os: windows-latest
architecture: x86-64
- os: windows-arm64-16gb
architecture: aarch64
These practices help create reliable CI pipelines that catch issues early and prevent problematic releases.
Enter the URL of a public GitHub repository