File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 style :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
10- - uses : actions/setup-python@v2
9+ - uses : actions/checkout@v6
10+ - uses : actions/setup-python@v6
1111 with :
12- python-version : ' 3.8 '
12+ python-version : ' 3.10 '
1313 - name : " Install style checker"
1414 run : pip install black
1515 - name : " Run style check"
@@ -23,12 +23,13 @@ jobs:
2323 - name : " Run build phase"
2424 run : echo "Building project $PROJECT_NAME"
2525 test :
26- needs : build
26+ # needs: build # We would normally not run the tests if the build fails,
27+ # but letting them go through, for demonstration purposes.
2728 runs-on : ubuntu-latest
2829 steps :
29- - uses : actions/checkout@v2
30- - uses : actions/setup-python@v2
30+ - uses : actions/checkout@v6
31+ - uses : actions/setup-python@v6
3132 with :
32- python-version : ' 3.8 '
33+ python-version : ' 3.10 '
3334 - name : " Run unittest"
3435 run : python -m unittest
You can’t perform that action at this time.
0 commit comments