diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 256196e..d72244e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,14 +16,14 @@ jobs: - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: "3.11" - uses: pre-commit/action@v3.0.1 tests: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, 3.10, 3.11, 3.12] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -40,7 +40,7 @@ jobs: - name: Create cov run: coverage xml - name: Upload to Codecov - if: matrix.python-version == 3.11 + if: matrix.python-version == "3.11" uses: codecov/codecov-action@v4 with: name: sphinx-exercise-pytest-py3.11 @@ -56,7 +56,7 @@ jobs: - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -74,11 +74,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: "3.11" - name: Build package run: | pip install wheel build diff --git a/pyproject.toml b/pyproject.toml index c61b66a..6ef29de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,4 +72,3 @@ Tracker = "https://github.com/executablebooks/sphinx-exercise/issues" [tool.hatch.version] path = "sphinx_exercise/__init__.py" -