refactor: cleanup default params in error handlers
[e-mobility-charging-stations-simulator.git] / .github / workflows / autofix.yml
index 5e6ba0efac7dae906be042ad24a4c731d20919d3..3d75cf085eba605402a31d1fb7ec9ad956a733d4 100644 (file)
@@ -2,7 +2,7 @@ name: autofix.ci
 on:
   pull_request:
   push:
-    branches: ['main']
+    branches: [main]
 permissions:
   contents: read
 
@@ -20,21 +20,19 @@ jobs:
       - working-directory: tests/ocpp-server
         run: |
           poetry install --no-root
-          poetry run task lint
+          poetry run task format
 
-      - uses: actions/checkout@v4
       - uses: pnpm/action-setup@v4
       - uses: actions/setup-node@v4
         with:
           cache: 'pnpm'
 
-      - run: |
-          pnpm install --ignore-scripts --frozen-lockfile
-          pnpm format
+      - run: pnpm install --ignore-scripts
+
+      - run: pnpm format
 
       - working-directory: ui/web
         run: |
-          pnpm install --ignore-scripts --frozen-lockfile
           pnpm format
           pnpm lint:fix