From 88a6d776440020b14f461f603f5d8bf3a74e1560 Mon Sep 17 00:00:00 2001 From: EclesioMeloJunior Date: Thu, 5 Oct 2023 07:59:26 -0400 Subject: [PATCH 1/2] chore: upgrade golang version in docker file --- Dockerfile | 2 +- Dockerfile.staging | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98337d9650..97cd629579 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG DEBIAN_VERSION=bullseye-slim -ARG GO_VERSION=1.20-buster +ARG GO_VERSION=1.21.1-bullseye FROM golang:${GO_VERSION} AS builder diff --git a/Dockerfile.staging b/Dockerfile.staging index 50b6821e49..787478567b 100644 --- a/Dockerfile.staging +++ b/Dockerfile.staging @@ -21,4 +21,4 @@ RUN go install -trimpath github.com/ChainSafe/gossamer/cmd/gossamer RUN ["sh", "-c", "gossamer init --chain=${chain} --base-path=${basepath}/${chain}"] ENTRYPOINT ["sh", "-c", "service datadog-agent start && gossamer --chain=${chain} --base-path=${basepath}/${chain} --prometheus-external --prometheus-port=9876 --pprof.enabled --pprof.listening-address=\":6060\""] -EXPOSE 7001 8546 8540 9876 6060 \ No newline at end of file +EXPOSE 7001 8546 8540 9876 6060 From 442a3498ad49a0daa794c9e8b01effe2b093e74b Mon Sep 17 00:00:00 2001 From: EclesioMeloJunior Date: Thu, 5 Oct 2023 07:28:13 -0400 Subject: [PATCH 2/2] chore: upgrade golang version on CI --- .github/workflows/build.yml | 4 ++-- .github/workflows/checks.yml | 2 +- .github/workflows/copyright.yml | 2 +- .github/workflows/devnet.yml | 2 +- .github/workflows/fuzz.yml | 2 +- .github/workflows/integration-tests.yml | 2 +- .github/workflows/mocks.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- .github/workflows/zombienet.yml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ff46346cd..37cdddfc37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true @@ -67,7 +67,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2836259ae5..d5149457c5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index fe843b1c0f..791c7ddf59 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/devnet.yml b/.github/workflows/devnet.yml index 2e7c9951cd..41078ed460 100644 --- a/.github/workflows/devnet.yml +++ b/.github/workflows/devnet.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index c27f136fea..7cbd8e465b 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 1d6619f270..5d65808e56 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/mocks.yml b/.github/workflows/mocks.yml index 9e478ac3da..470a11510b 100644 --- a/.github/workflows/mocks.yml +++ b/.github/workflows/mocks.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 752948f2bb..a89e3594a0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true diff --git a/.github/workflows/zombienet.yml b/.github/workflows/zombienet.yml index 10b9bf8b7d..09a342bada 100644 --- a/.github/workflows/zombienet.yml +++ b/.github/workflows/zombienet.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" stable: true check-latest: true