diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f3358bcc5..f37ad8883 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/coordinate/phantom.go b/coordinate/phantom.go index 589896a2b..e38af985f 100644 --- a/coordinate/phantom.go +++ b/coordinate/phantom.go @@ -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++ { diff --git a/go.mod b/go.mod index 8dcb22bb8..71408972b 100644 --- a/go.mod +++ b/go.mod @@ -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