I'm trying to run "make lint" command. For that, I have written below GitHub Action:
name: main
on: push
jobs:
super-lint:
name: Lint code base
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: TESTING SERGEY
run: make lint
- name: Run Super-Linter
uses: github/super-linter@v3
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
I'm using Windows 10, but it's giving me an error:
Run make lint
make lint
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
poetry run flake8 brain_games
process_begin: CreateProcess(NULL, poetry run flake8 brain_games, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [Makefile:5: lint] Error 2
Error: Process completed with exit code 1.
I did try to change Powershell default folder, did not work. I also trying to add path "C:\Python_Work_for_Hexlet\python-project-lvl1/" right after "run: make lint ", also did not work.
Please help!