File tree Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 2323 working-directory : ./examples/go
2424 run : go test ./...
2525
26- - name : Run build_all.sh
27- working-directory : ./examples/go/snippets
28- run : ./build_all.sh
29-
30- - name : Run run_all.sh
31- working-directory : ./examples/go/snippets
32- run : ./run_all.sh
26+ - name : Build Go snippets
27+ run : ./tools/go-snippets/runner.sh build
Original file line number Diff line number Diff line change 6666 echo "Building only the changed Go files..."
6767 ./tools/go-snippets/runner.sh build ${{ steps.changed-files.outputs.changed_files }}
6868
69- - name : Run changed Go snippets (PR only)
70- if : github.event_name == 'pull_request' && steps.changed-files.outputs.changed_files != ''
71- run : |
72- echo "Running only the changed Go files..."
73- ./tools/go-snippets/runner.sh run ${{ steps.changed-files.outputs.changed_files }}
74-
7569 # --- Scheduled Checks ---
7670 # These steps only run on the weekly schedule.
7771
8074 run : |
8175 echo "Running weekly build for all Go snippets..."
8276 ./tools/go-snippets/runner.sh build
83-
84- - name : Run all Go snippets (Scheduled)
85- if : github.event_name == 'schedule'
86- run : |
87- echo "Running weekly run for all Go snippets..."
88- ./tools/go-snippets/runner.sh run
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ execute_and_check() {
6363if [[ " $1 " != " build" && " $1 " != " run" ]]; then
6464 echo " Usage: $0 <build|run> [file1 file2 ...]"
6565 exit 1
66- }
66+ fi
6767
6868ACTION=$1
6969shift
You can’t perform that action at this time.
0 commit comments