Skip to content
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
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,18 @@ jobs:
- name: checkout
uses: actions/checkout@v7

- name: read go version from go.mod
id: gomod
run: |
version=$(awk '/^go /{split($2, v, "."); print v[1] "." v[2]; exit}' go.mod)
test -n "$version"
echo "version=$version" >> "$GITHUB_OUTPUT"

- name: set up go
uses: actions/setup-go@v7
with:
go-version: "1.24"
go-version: ${{ steps.gomod.outputs.version }}
check-latest: true
id: go

- name: build and test
Expand Down
2 changes: 0 additions & 2 deletions examples/collector_errors/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/collector_errors

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions examples/collectors_chain/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/collectors_chain

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions examples/direct_chain/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/direct_chain

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions examples/middleware/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/middleware

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require (
Expand Down
2 changes: 0 additions & 2 deletions examples/parallel_files/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/parallel_files

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions examples/tokenizer_stateful/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/tokenizer_stateful

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions examples/tokenizer_stateless/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module examples/tokenizer_stateless

go 1.24.0

toolchain go1.24.6

require github.com/go-pkgz/pool v0.9.2

require golang.org/x/sync v0.19.0 // indirect
Expand Down
Loading