From 5f2e81c9a457a684a1d1d39d4233196b4230f961 Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Sat, 5 Nov 2022 19:40:04 +0100 Subject: [PATCH] update to go 1.19 --- .github/workflows/lint.yml | 6 +++--- .github/workflows/release.yaml | 6 +++--- .github/workflows/tests.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5b0ad815..09e7e53a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,10 +16,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set up Go 1.18 + - name: Set up Go 1.19 uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 id: go - name: Ensure go mod tidy runs without changes @@ -32,7 +32,7 @@ jobs: run: go install mvdan.cc/gofumpt@v0.3.1 - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@v0.3.0 + run: go install honnef.co/go/tools/cmd/staticcheck@v0.3.3 - name: Install golangci-lint run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8d292ab6..1f3fcc99 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -90,7 +90,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Install cross-compiler for linux/arm64 and windows run: sudo apt-get -y install gcc-aarch64-linux-gnu gcc-mingw-w64 - name: Run GoReleaser @@ -121,7 +121,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: @@ -151,7 +151,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Make directories run: | mkdir -p ./build/linux_windows diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 060d1dcf..9520ff0e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 id: go - name: Checkout sources diff --git a/Dockerfile b/Dockerfile index 87abfb73..5150928c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM golang:1.18 as builder +FROM golang:1.19 as builder ARG VERSION ARG CGO_CFLAGS WORKDIR /build diff --git a/go.mod b/go.mod index 8ba13011..790f5a82 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/flashbots/mev-boost -go 1.18 +go 1.19 require ( github.com/ethereum/go-ethereum v1.10.25