86c3c1d80d
The existing actions/checkout@v2 is causing Node v12 deprecation warnings to be shown in GitHub Actions. v3 uses Node v16, which will stop the warnings.
22 lines
428 B
YAML
22 lines
428 B
YAML
name: Check examples
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'examples/**'
|
|
- 'ports/unix/**'
|
|
- 'py/**'
|
|
- 'shared/**'
|
|
|
|
jobs:
|
|
embedding:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build
|
|
run: make -C examples/embedding
|
|
- name: Run
|
|
run: test "$(./examples/embedding/hello-embed)" = "Hello world of easy embedding!"
|