Skip to content

Commit 22596f6

Browse files
fix: update ci.yml to build and test the example
Signed-off-by: Alex Lovell-Troy <[email protected]>
1 parent f03b65d commit 22596f6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,5 @@ jobs:
4141
4242
- name: Build and run examples
4343
run: |
44-
for f in example/*.go; do
45-
fname=$(basename "$f" .go)
46-
echo "Building $f -> $fname"
47-
go build -o "example/$fname" "$f"
48-
echo "Running example/$fname"
49-
"example/$fname"
50-
done
44+
go build -o test example/*.go
45+
./test

0 commit comments

Comments
 (0)