Skip to content

Commit

Permalink
update to go 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Nov 7, 2022
1 parent 33c9b94 commit 5f2e81c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,7 +32,7 @@ jobs:
run: go install mvdan.cc/[email protected]

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/[email protected].0
run: go install honnef.co/go/tools/cmd/[email protected].3

- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
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/flashbots/mev-boost

go 1.18
go 1.19

require (
github.com/ethereum/go-ethereum v1.10.25
Expand Down

0 comments on commit 5f2e81c

Please sign in to comment.