Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: misc repository maintainance #716

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: "${{ matrix.dir }}/go.sum"
- name: Run Linter
uses: golangci/golangci-lint-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: "${{ matrix.dir }}/go.sum"
- name: Run Unit Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-runtime-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: runtime/go.sum
- name: Build Runtime
working-directory: runtime
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-runtime-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: runtime/go.sum
- name: Run Integration Tests
working-directory: runtime
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-sdk-go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: ./sdk/go/go.sum
- name: Build Program
run: go build .
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: "${{ matrix.dir }}/go.sum"
- name: Setup TinyGo
uses: acifani/setup-tinygo@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
if: matrix.language == 'go'
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: runtime/go.sum

# Initializes the CodeQL tools for scanning.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: npm run build
- uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: runtime/go.sum
- uses: goreleaser/goreleaser-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.4
go-version: 1.23.5
cache-dependency-path: ./sdk/go/go.sum
- name: Prepare Release
working-directory: sdk/go
Expand Down
13 changes: 7 additions & 6 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.22.8
version: 1.22.9

# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
Expand All @@ -14,18 +14,19 @@ plugins:
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected].4
- [email protected].5
- [email protected]
- [email protected]

# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
- golangci-lint@1.62.2
- golangci-lint@1.63.4
- [email protected]
- [email protected]
- [email protected]
Expand All @@ -34,7 +35,7 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected].0
- [email protected].2
- [email protected]
actions:
enabled:
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

use (
./lib/manifest
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/anthropic-functions/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module anthropic-functions-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0

Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/auth/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module auth-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/classification/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module classification-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/collections/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module collection-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/dgraph/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module dgraph-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/embedding/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module embedding-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0

Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/graphql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module graphql-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module http-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/neo4j/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module neo4j-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/postgresql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module postgresql-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/simple/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module simple-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/textgeneration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module text-generation-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0

Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/time/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module time-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0
2 changes: 1 addition & 1 deletion sdk/go/examples/vectors/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module vectors-example

go 1.23.1

toolchain go1.23.4
toolchain go1.23.5

require github.com/hypermodeinc/modus/sdk/go v0.16.0

Expand Down
1 change: 1 addition & 0 deletions sdk/go/pkg/dgraph/dgraph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestExecuteDQL(t *testing.T) {
}
if response == nil {
t.Fatalf("Expected a response, but received nil")
return
}

if response.Json != `{"data": {"query": "query"}}` {
Expand Down
1 change: 1 addition & 0 deletions sdk/go/pkg/neo4j/neo4j_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func TestExecuteQuery(t *testing.T) {
}
if response == nil {
t.Fatalf("Expected a response, but received nil")
return
}

if len(response.Keys) != 2 {
Expand Down
Loading