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: update Go toolchain to 1.23.6 #757

Merged
merged 4 commits into from
Feb 10, 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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
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.5
go-version: 1.23.6
cache-dependency-path: ./sdk/go/go.sum
- name: Prepare Release
working-directory: sdk/go
Expand Down
11 changes: 11 additions & 0 deletions .trunk/configs/osv-scanner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[IgnoredVulns]]
id = "CVE-2024-45336"
reason = "This is a false positive."

[[IgnoredVulns]]
id = "CVE-2024-45341"
reason = "This is a false positive."

[[IgnoredVulns]]
id = "CVE-2025-22866"
reason = "This is a false positive."
14 changes: 10 additions & 4 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ plugins:
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected].5
- [email protected].6
- [email protected]
- [email protected]

# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- renovate@39.161.0
- renovate@39.163.0
- [email protected]
- [email protected].365
- [email protected].368
- git-diff-check
- [email protected]
- [email protected]
Expand All @@ -36,8 +36,14 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected].4
- [email protected].5
- [email protected]
definitions:
- name: osv-scanner
commands:
- name: scan
run:
osv-scanner --lockfile=${target} --format json --config=.trunk/configs/osv-scanner.toml
actions:
enabled:
- trunk-announce
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- fix: wasm filename should be last part of package name [#754](https://github.com/hypermodeinc/modus/pull/754)
- chore: update ModusDB [#755](https://github.com/hypermodeinc/modus/pull/755)
- chore: bump tailwind to v4 [#756](https://github.com/hypermodeinc/modus/pull/756)
- chore: update Go toolchain to 1.23.6 [#757](https://github.com/hypermodeinc/modus/pull/757)

## 2025-01-24 - Runtime 0.17.1

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.5
toolchain go1.23.6

use (
./lib/manifest
Expand Down
2 changes: 1 addition & 1 deletion lib/manifest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/lib/manifest

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

require (
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1
Expand Down
2 changes: 1 addition & 1 deletion lib/metadata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/lib/metadata

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

require github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0

Expand Down
2 changes: 1 addition & 1 deletion lib/wasmextractor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/hypermodeinc/modus/lib/wasmextractor

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6
2 changes: 1 addition & 1 deletion runtime/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/runtime

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

require (
github.com/hypermodeinc/modus/lib/manifest v0.17.0
Expand Down
2 changes: 1 addition & 1 deletion runtime/languages/golang/testdata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module testdata

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

require github.com/hypermodeinc/modus/sdk/go v0.17.0
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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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.5
toolchain go1.23.6

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

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

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

require (
github.com/hypermodeinc/modus/lib/manifest v0.17.0
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/templates/default/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module my-modus-app

go 1.23.1

toolchain go1.23.5
toolchain go1.23.6

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