Skip to content

Commit 9767721

Browse files
authored
bump pkl version (#98)
1 parent 066ae26 commit 9767721

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+304
-322
lines changed

.github/workflows/pkl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- 'pipelaner@*'
77

88
env:
9-
PKL_VERSION: 0.27.1
10-
PKL_GO_VERSION: v0.9.0
9+
PKL_VERSION: 0.29.0
10+
PKL_GO_VERSION: v0.11.0
1111

1212
jobs:
1313
pkl-create-release:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ proto:
2020

2121
.PHONY: install-pkl-go
2222
install-pkl-go:
23-
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.9.0
23+
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.11.0
2424

2525
.PHONY: pkl-generate-go
2626
pkl-generate-go:

agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func NewAgent(file string) (*Agent, error) {
3535
}
3636

3737
a := &Agent{
38-
cfg: cfg,
38+
cfg: &cfg,
3939
}
4040

4141
inits := []func(cfg *config.Pipelaner) error{
@@ -47,7 +47,7 @@ func NewAgent(file string) (*Agent, error) {
4747
}
4848

4949
for _, init := range inits {
50-
if err = init(cfg); err != nil {
50+
if err = init(&cfg); err != nil {
5151
return nil, err
5252
}
5353
}

examples/basic/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.PHONY: install-pkl-go
22
install-pkl-go:
3-
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.9.0
3+
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.11.0

examples/custom/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: install-pkl-go
22
install-pkl-go:
3-
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.9.0
3+
go install github.com/apple/pkl-go/cmd/pkl-gen-go@v0.11.0
44

55
.PHONY: example-generate
66
pkl-generate-go:

examples/custom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ If you need custom components, create an implementation file (e.g., `pkl/custom.
9898
@go.Package {name = "gen/custom"}
9999
module pipelaner.source.example
100100
101-
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.9.0#/go.pkl"
101+
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.11.0#/go.pkl"
102102
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/input/Inputs.pkl"
103103
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/sink/Sinks.pkl"
104104
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/transform/Transforms.pkl"

examples/custom/pkl/custom.pkl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@go.Package {name = "gen/custom"}
22
module pipelaner.source.examples.custom
33

4-
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.9.0#/go.pkl"
4+
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.11.0#/go.pkl"
55
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/input/Inputs.pkl"
66
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/sink/Sinks.pkl"
77
import "package://pkg.pkl-lang.org/github.com/pipelane/pipelaner/[email protected]#/source/transform/Transforms.pkl"

gen/components/Components.pkl.go

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/components/init.pkl.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/pipelaner/Pipelaner.pkl.go

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)