mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
add Build examples step to CI
This commit is contained in:
parent
c5def28fb1
commit
081d6e2763
17
.github/workflows/pull_request.yaml
vendored
17
.github/workflows/pull_request.yaml
vendored
@ -23,3 +23,20 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
PATH=$PWD/misc/wasm:$PATH GOOS=js GOARCH=wasm go test ./...
|
PATH=$PWD/misc/wasm:$PATH GOOS=js GOARCH=wasm go test ./...
|
||||||
|
|
||||||
|
examples:
|
||||||
|
name: Build examples
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup Golang
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
|
- name: Build examples
|
||||||
|
shell: bash
|
||||||
|
run: make build-examples
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user