Skip to content

Commit

Permalink
Build example in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Jan 6, 2025
1 parent 3b150de commit 55d3583
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,22 @@ jobs:

- name: Run unit tests
run: go test ./...

ci-build-example:
name: ci-build-example
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
id: go

- name: Build example
run: go build -o mermaid-example ./example/main.go

- name: Run example
run: ./mermaid-example

0 comments on commit 55d3583

Please sign in to comment.