mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
commit
c0f7b90059
26
.github/workflows/pull_request.yaml
vendored
Normal file
26
.github/workflows/pull_request.yaml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ 1.18, 1.19 ]
|
||||
os: [ ubuntu-latest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Golang
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=$(go env GOROOT)/misc/wasm:$PATH
|
||||
GOOS=js GOARCH=wasm go test ./...
|
Loading…
x
Reference in New Issue
Block a user