Skip to content

Commit 0a73b8e

Browse files
committed
icon
1 parent 380351c commit 0a73b8e

4 files changed

Lines changed: 7 additions & 19 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7-alpine
1+
FROM python
22

33
LABEL "com.github.actions.name"="runnig Flake8 and black"
44
LABEL "com.github.actions.description"="run flake8 command and use black"
@@ -12,6 +12,8 @@ RUN pip install --upgrade pip
1212
RUN pip install flake8
1313
RUN pip install black
1414

15-
COPY entrypoint.sh /
15+
16+
COPY entrypoint.sh /entrypoint.sh
17+
RUN pwd
1618
RUN chmod +x /entrypoint.sh
1719
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
echo "Running style checks on ${inputs.filename}"
4-
flake8 ${inputs.filename}
4+
flake8 ${inputs.filename}
55

66
echo "formating ${inputs.filename}"
77
black ${inputs.filename}

github-recovery-codes.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)