diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ae1df51..c973ab40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -23,6 +23,9 @@ jobs: go-version-file: server/go.mod cache-dependency-path: server/go.sum + - name: Run tests + run: cd server && go test ./... + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index fe2a9fbf..d53a22bc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -51,5 +51,8 @@ brews: directory: Formula homepage: "https://github.com/multica-ai/super-multica" description: "Multica CLI — local agent runtime and management tool for the Multica platform" + license: "MIT" install: | bin.install "multica-cli" + test: | + system "#{bin}/multica-cli", "version"