diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e8a4b58..5b28359 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -18,7 +18,7 @@ jobs:
     steps:
       - uses: actions/checkout@v4.0.0
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v4.7.0
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install poetry
@@ -35,7 +35,7 @@ jobs:
           poetry run coverage run -m --source=src pytest tests
           poetry run coverage xml
       - name: Report coverage using codecov
-        if: github.event_name == 'push' && matrix.python-version == 3.10
+        if: github.event_name == 'push' && matrix.python-version == 3.8
         uses: codecov/codecov-action@v3.1.4
         with:
           file: ./coverage.xml # optional