File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 44 check-commit-messages :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
7+ - uses : actions/checkout@v4
88 with :
99 # Checkout with full history, not just latest revision.
1010 fetch-depth : 0
1111 - uses : actions/setup-python@v4
12+ with :
13+ python-version : ' 3.10'
1214 - run : |
1315 bash .github/workflows/check_commit_messages.sh \
1416 ${{ github.event.before }} ${{ github.event.after }}
1517 check-formatting :
1618 runs-on : ubuntu-latest
1719 steps :
20+ - uses : actions/checkout@v4
1821 - uses : actions/setup-python@v4
19- - uses : actions/checkout@v3
22+ with :
23+ python-version : ' 3.10'
2024 - run : pip install fprettify
2125 - run : fprettify --config .fprettify.ini --diff --recursive src
22- - run : if [[ ! -z "$($FPRETTIFY_COMMAND)" ]]; then echo "::warning::Code formatting issues detected"; fi
26+ - run : if [[ ! -z "$($FPRETTIFY_COMMAND)" ]]; then echo "::warning::Code formatting issues detected. See log for details. "; fi
2327 env :
2428 FPRETTIFY_COMMAND : fprettify --config .fprettify.ini --diff --recursive src
You can’t perform that action at this time.
0 commit comments