diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7edec8..07be3db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,12 @@ jobs: uses: actions/setup-go@v4 with: go-version: '1.21' + - + name: Generate + run: go generate ./... - name: Test - run: go test -v ./... + run: go test -v . && go test -v ./cmds/* - name: Build run: | diff --git a/cmds/liter-server/build.sh b/cmds/liter-server/build.sh index 1e057e0..9a3a495 100755 --- a/cmds/liter-server/build.sh +++ b/cmds/liter-server/build.sh @@ -14,8 +14,6 @@ mkdir -p "$outputdir" export CGO_ENABLED=0 -go generate "$curdir" || exit $? - for p in "${available_platforms[@]}"; do os=${p%/*} arch=${p#*/}