From 3c03475c00735bcda890fdb6a8c22fc0fbfbb000 Mon Sep 17 00:00:00 2001 From: zyxkad Date: Fri, 13 Oct 2023 15:40:36 -0600 Subject: [PATCH] update build --- .github/workflows/build.yml | 5 ++++- cmds/liter-server/build.sh | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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#*/}