greut / eclint-action

GitHub Action running the EditorConfig linter
https://gitlab.com/greut/eclint
MIT License
10 stars 2 forks source link

Error: not a git repository #2

Closed szepeviktor closed 2 years ago

szepeviktor commented 2 years ago
E0613 02:27:49.456415      10 main.go:176]  "msg"="cannot list files" "error"="not a git repository: exit status 128"  
E0613 02:27:49.456480      10 main.go:127]  "msg"="linting failure" "error"="not a git repository: exit status 128"  

Hello @greut!

Thank you for this action.

Could you help me what am I doing wrong? https://github.com/szepeviktor/php-path/runs/6854282483?check_suite_focus=true branch: https://github.com/szepeviktor/php-path/tree/eclint

greut commented 2 years ago

@szepeviktor I'll give it a look. Cheers,

greut commented 2 years ago

you're missing the checkout.

      - name: checkout
        uses: actions/checkout@v3
szepeviktor commented 2 years ago

Oh nooooooooooooo 😆

Thank you.

szepeviktor commented 2 years ago

After adding that step still

E0625 11:36:17.210473      12 main.go:176]  "msg"="cannot list files" "error"="not a git repository: exit status 128"  
E0625 11:36:17.210529      12 main.go:127]  "msg"="linting failure" "error"="not a git repository: exit status 128"  

https://github.com/szepeviktor/php-path/runs/7053600124?check_suite_focus=true

greut commented 2 years ago

After adding that step still

it wasn't enough :)

szepeviktor commented 2 years ago

We have a colorful output :)

kép