sync: update CI config files (#2073)

* bump go.mod to Go 1.19 and run go fix

* stop using the deprecated io/ioutil package

* bump go.mod to Go 1.19 and run go fix

* bump go.mod to Go 1.19 and run go fix

* bump go.mod to Go 1.19 and run go fix

* stop using the deprecated io/ioutil package

* bump go.mod to Go 1.19 and run go fix

* stop using the deprecated io/ioutil package

* update .github/workflows/go-test.yml

* update .github/workflows/go-check.yml

* update .github/workflows/release-check.yml

* various fixes

* stop using deprecated math/rand.Read

---------

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
This commit is contained in:
web3-bot
2023-02-12 10:18:10 +01:00
committed by GitHub
parent 985683722c
commit 3a66ff89a1
20 changed files with 63 additions and 61 deletions

View File

@@ -13,9 +13,9 @@ import (
)
func main() {
rnd := rand.New(rand.NewSource(666))
// Choose random ports between 10000-10100
rand.Seed(666)
port1 := rand.Intn(100) + 10000
port1 := rnd.Intn(100) + 10000
port2 := port1 + 1
done := make(chan bool, 1)