File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3636 id : changes
3737 with :
3838 # needed for `act_runner exec`
39- ref : ${{ env.ACT_EXEC == 'true' && 'HEAD' || env.GITHUB_REF }}
39+ base : ${{ env.ACT_EXEC == 'true' && 'HEAD' || '' }}
4040 filters : |
4141 backend:
4242 - "**/*.go"
Original file line number Diff line number Diff line change @@ -456,7 +456,10 @@ test-frontend: node_modules
456456test-check :
457457 @echo " Running test-check..." ;
458458 @diff=$$(git status -s ) ; \
459- if [ -n " $$ diff" ]; then \
459+ if [ " $( ACT_EXEC) " = " true" ]; then \
460+ echo " skip 'test-check' when using 'act_runner exec', please check it manually!" ; \
461+ exit 0; \
462+ elif [ -n " $$ diff" ]; then \
460463 echo " make test-backend has changed files in the source tree:" ; \
461464 echo " $$ {diff}" ; \
462465 echo " You should change the tests to create these files in a temporary directory." ; \
You can’t perform that action at this time.
0 commit comments