File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Auto detect text files and perform LF normalization
2+ * text =auto
Original file line number Diff line number Diff line change 1- FROM python:3.7-alpine
1+ FROM python
22
33LABEL "com.github.actions.name" ="runnig Flake8 and black"
44LABEL "com.github.actions.description" ="run flake8 command and use black"
@@ -12,6 +12,8 @@ RUN pip install --upgrade pip
1212RUN pip install flake8
1313RUN pip install black
1414
15- COPY entrypoint.sh /
15+
16+ COPY entrypoint.sh /entrypoint.sh
17+ RUN pwd
1618RUN chmod +x /entrypoint.sh
1719ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33echo " Running style checks on ${inputs.filename} "
4- flake8 ${inputs.filename}
4+ flake8 ${inputs.filename}
55
66echo " formating ${inputs.filename} "
77black ${inputs.filename}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments