Skip to content
Draft
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
20 changes: 16 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
GO_VERSION: [ "1.19","1.20","1.21" ]
GO_VERSION:
- '1.24' # named in go.mod
- 'oldstable'
- 'stable'
steps:
- name: "Fetch source code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down Expand Up @@ -49,7 +52,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
GO_VERSION: [ "1.19","1.20","1.21" ]
GO_VERSION:
- '1.24' # named in go.mod
- 'oldstable'
- 'stable'
steps:
- name: "Fetch source code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down Expand Up @@ -90,7 +96,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
GO_VERSION: [ "1.19","1.20","1.21" ]
GO_VERSION:
- '1.24' # named in go.mod
- 'oldstable'
- 'stable'
steps:
- name: "Fetch source code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down Expand Up @@ -122,7 +131,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
GO_VERSION: [ "1.19","1.20","1.21" ]
GO_VERSION:
- '1.24' # named in go.mod
- 'oldstable'
- 'stable'
steps:
- name: "Fetch source code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down
1 change: 1 addition & 0 deletions coordinate/phantom.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func GenerateRandom(nodes int, mean time.Duration, deviation time.Duration) [][]
// starting out with everything at the origin).
func Simulate(clients []*Client, truth [][]time.Duration, cycles int) {
rand.Seed(1)
fmt.Printf("starting the process")

nodes := len(clients)
for cycle := 0; cycle < cycles; cycle++ {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/serf

go 1.19
go 1.24.0

require (
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
Expand Down
Loading