chore: Update CI configuration to use latest version of Ubuntu and Py… #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Multiple Python Versions CI boilerplate | |
on: | |
push: | |
pull_request: | |
jobs: | |
linter_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- uses: eifinger/setup-rye@v2 | |
- run: rye install | |
- run: rye fmt | |
- run: rye lint | |
- run: rye test | |
- run: rye mypy src |