File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Setup Python
1919 uses : actions/setup-python@v3
2020 with :
21- python-version : ' 3.8 '
21+ python-version : ' 3.10 '
2222
2323 - name : Run Python unit tests
2424 run : python3 -u -m unittest tests/tests.py
Original file line number Diff line number Diff line change 1- # If all you need is Python 3, use:
2- FROM cicirello/pyaction-lite:3
3-
41# If you need Python 3 and the GitHub CLI, then use:
5- # FROM cicirello/pyaction:4
2+ FROM cicirello/pyaction:4
3+
4+ # If all you need is Python 3, use:
5+ # FROM cicirello/pyaction-lite:3
66
77# If Python 3 + git is sufficient, then use:
88# FROM cicirello/pyaction:3
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python3
1+ #!/usr/bin/env -S python3 -B
2+
3+ # NOTE: If you are using an alpine docker image
4+ # such as pyaction-lite, the -S option above won't
5+ # work. The above line works fine on other linux distributions
6+ # such as debian, etc, so the above line will work fine
7+ # if you use pyaction:4.0.0 or higher as your base docker image.
28
39import sys
410
You can’t perform that action at this time.
0 commit comments