diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 05825aa9004f409d0a2dc1e0ea145210bf50d13b..2435285c434f84c61da9b8ebde46cfec9f8217be 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,9 +8,9 @@ jobs:
     name: test
     runs-on: ubuntu-latest
     steps:
-      - run: cd ../../backend/secfit
       - run: apt-get update -qy
       - run: pip install -r requirements.txt
+    working-directory: ./backend/secfit
 
   staging:
     name: staging