fix format-check errors

This commit is contained in:
mahabaleshwars 2025-03-10 18:42:59 +05:30
parent 5642bd6033
commit 4b84ab4e07

View file

@ -246,35 +246,35 @@ jobs:
run: python -c 'import math; print(math.factorial(5))' run: python -c 'import math; print(math.factorial(5))'
setup-versions-from-.tool-versions-file: setup-versions-from-.tool-versions-file:
name: Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file name: Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
[ [
macos-latest, macos-latest,
windows-latest, windows-latest,
ubuntu-20.04, ubuntu-20.04,
ubuntu-22.04, ubuntu-22.04,
macos-13, macos-13,
ubuntu-latest ubuntu-latest
] ]
python: [3.13.0, 3.14-dev, pypy3.7-v7.3.3, graalpy-24.1.2] python: [3.13.0, 3.14-dev, pypy3.7-v7.3.3, graalpy-24.1.2]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: build-tool-versions-file ${{ matrix.python }} - name: build-tool-versions-file ${{ matrix.python }}
run: | run: |
echo "python ${{ matrix.python }}" > .tool-versions echo "python ${{ matrix.python }}" > .tool-versions
- name: setup-python using .tool-versions ${{ matrix.python }}
id: setup-python-tool-versions
uses: ./
with:
python-version-file: .tool-versions
- name: setup-python using .tool-versions ${{ matrix.python }}
id: setup-python-tool-versions
uses: ./
with:
python-version-file: .tool-versions
setup-pre-release-version-from-manifest: setup-pre-release-version-from-manifest:
name: Setup 3.14.0-alpha.1 ${{ matrix.os }} name: Setup 3.14.0-alpha.1 ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}