diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml
index dba15fe..45b993a 100644
--- a/.github/workflows/flake8.yml
+++ b/.github/workflows/flake8.yml
@@ -7,11 +7,11 @@ jobs:
   flake8_py3:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-python@v3
+      - uses: actions/checkout@master
+      - uses: actions/setup-python@v5
         name: setup Python
         with:
-          python-version: 3.8
+          python-version: "3.10"
       - name: Checkout pywis-pubsub
         uses: actions/checkout@master
       - name: Install flake8