mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 09:27:08 +00:00
add Build examples step to CI
This commit is contained in:
parent
c5def28fb1
commit
081d6e2763
19
.github/workflows/pull_request.yaml
vendored
19
.github/workflows/pull_request.yaml
vendored
@ -22,4 +22,21 @@ jobs:
|
||||
- name: Test
|
||||
shell: bash
|
||||
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