mirror of
https://github.com/luxfi/math.git
synced 2026-09-24 00:25:16 +00:00
go.mod asked for ids v1.3.2 and crypto v1.20.2 while go.sum still carried v1.2.9 and v1.19.0, so the module did not build. Retidied the root and the nested bit/ and safe/ modules; bit/ was additionally missing the luxfi/geth requirement that its compress test imports. The CI test command covers all four modules — go test ./... stops at a nested module boundary and would otherwise skip bit/, big/ and safe/ entirely.
14 lines
542 B
YAML
14 lines
542 B
YAML
# math is four modules, not one: the root plus nested bit/, big/ and safe/, each
|
|
# with its own go.mod and its own release tag. `./...` stops at a nested module
|
|
# boundary, so the plain root command leaves three of the four unbuilt and
|
|
# untested — bit/ in particular has the only test that imports luxfi/geth.
|
|
test:
|
|
- name: build
|
|
run: |
|
|
set -e
|
|
for m in . bit big safe; do (cd "$m" && go build ./...); done
|
|
- name: unit
|
|
run: |
|
|
set -e
|
|
for m in . bit big safe; do (cd "$m" && go test ./... -count=1); done
|