Merge branch 'main' of https://git.neemek.com/neemek/anglais
All checks were successful
/ test (push) Successful in 47s
All checks were successful
/ test (push) Successful in 47s
This commit is contained in:
commit
85c4829918
6 changed files with 34 additions and 14 deletions
23
.forgejo/workflows/test.yaml
Normal file
23
.forgejo/workflows/test.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:lts
|
||||
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
|
||||
working-directory: ./core
|
||||
run: go test
|
||||
|
|
@ -1,10 +1,7 @@
|
|||
module neemek.com/angalis/cli
|
||||
module neemek.com/anglais/cli
|
||||
|
||||
go 1.23.0
|
||||
go 1.24.3
|
||||
|
||||
require (
|
||||
github.com/alecthomas/kong v1.5.1
|
||||
neemek.com/anglais/core v0.0.0-00010101000000-000000000000
|
||||
)
|
||||
|
||||
replace neemek.com/anglais/core => ../core
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
module neemek.com/anglais/core
|
||||
|
||||
go 1.23.0
|
||||
go 1.24.3
|
||||
|
|
|
|||
3
go.mod
3
go.mod
|
|
@ -1,3 +0,0 @@
|
|||
module neemek.com/anglais
|
||||
|
||||
go 1.23
|
||||
7
go.work
Normal file
7
go.work
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
go 1.24.3
|
||||
|
||||
use (
|
||||
./cli
|
||||
./core
|
||||
./wasm
|
||||
)
|
||||
|
|
@ -1,7 +1,3 @@
|
|||
module neemek.com/anglais/wasm
|
||||
|
||||
go 1.23.0
|
||||
|
||||
replace neemek.com/anglais/core => ../core
|
||||
|
||||
require neemek.com/anglais/core v0.0.0-00010101000000-000000000000
|
||||
go 1.24.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue