From b6edf5abfdd6c73c01e423d6d0285dfa41194bdf Mon Sep 17 00:00:00 2001 From: benbenbang Date: Thu, 8 Oct 2026 12:52:47 +0800 Subject: [PATCH 1/2] ci(workflows): switch to public reusable workflows Use the public reusable-workflows repository for pre-commit and semantic-release jobs to support the OSS setup, and skip Go vet and unit tests in pre-commit checks. Add documentation for the pkg directory. --- .github/workflows/pull-request.yml | 5 +++-- .github/workflows/semantic-release.yml | 3 +-- pkg/README.md | 8 ++++++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 pkg/README.md diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 24fb0bd..e254862 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -17,12 +17,13 @@ concurrency: jobs: pre-commit: name: pre-commit checks - uses: bitbrew-dev/r-workflows/.github/workflows/prek.yml@main - # uses: bitbrew-dev/reusable-workflows/.github/workflows/prek.yml@main + uses: bitbrew-dev/reusable-workflows/.github/workflows/prek.yml@main permissions: contents: read packages: read secrets: inherit + with: + prek_skip: go-vet,go-unit-tests pr-labeler: name: pr labeler diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 86f7ad3..74452fc 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -16,8 +16,7 @@ jobs: semantic-release: name: semantic-release if: ${{ github.event.inputs.prompt == 'true' }} - uses: bitbrew-dev/r-workflows/.github/workflows/semantic-release.yml@main - # uses: bitbrew-dev/r-workflows/.github/workflows/semantic-release.yml@main + uses: bitbrew-dev/reusable-workflows/.github/workflows/semantic-release.yml@main permissions: contents: read pull-requests: write diff --git a/pkg/README.md b/pkg/README.md new file mode 100644 index 0000000..0c03b73 --- /dev/null +++ b/pkg/README.md @@ -0,0 +1,8 @@ +# Exposed API + +```go +import ( + "github.com/bitbrew-dev/jevwise/pkg/typesafe" + "github.com/bitbrew-dev/jevwise/pkg/openapi" +) +``` From 9511e77129959e7eb19060627d281ca7c16b262b Mon Sep 17 00:00:00 2001 From: benbenbang Date: Fri, 9 Oct 2026 10:35:11 +0800 Subject: [PATCH 2/2] build(go): require Go 1.27.2 Update the module and build documentation to require Go 1.27.2 or newer. --- README.md | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 737b424..e111c21 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A Go SDK for TypeSafe AI and the `jev` decision CLI. ## Build and run -Use Go 1.27.1 or newer, matching `go.mod`. Run these commands from the checkout: +Use Go 1.27.2 or newer, matching `go.mod`. Run these commands from the checkout: ```sh git clone https://github.com/bitbrew-dev/jevwise.git diff --git a/go.mod b/go.mod index 932f017..b93e022 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/bitbrew-dev/jevwise -go 1.27.1 +go 1.27.2 require ( github.com/modelcontextprotocol/go-sdk v1.8.0