main #1
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/test.yaml
Normal file
20
.forgejo/workflows/test.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23
|
||||
- name: Build CLI
|
||||
working-directory: ./cli
|
||||
run: go build
|
||||
- name: Build WASM
|
||||
working-directory: ./wasm
|
||||
run: GOOS=js GOARCH=wasm go build
|
||||
- name: Test Core
|
||||
run: go test core
|
||||
Loading…
Add table
Add a link
Reference in a new issue