Skip to content

Commit

Permalink
chore: bump go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
gacevicljubisa committed Sep 29, 2023
1 parent 8017852 commit f582000
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
version: v1.54.2
args: --timeout 10m
skip-cache: false
- name: Vet
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.21
- name: Checkout
uses: actions/checkout@v2
with:
Expand All @@ -23,7 +23,7 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
args: release --clean
key: ${{ secrets.YOUR_PRIVATE_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 AS build
FROM golang:1.21 AS build

WORKDIR /src
# enable modules caching in separate layer
Expand All @@ -8,7 +8,7 @@ COPY . ./

RUN make binary

FROM debian:11.6-slim
FROM debian:12.1-slim

ENV DEBIAN_FRONTEND noninteractive

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/ethersphere/beekeeper

go 1.20
go 1.21

replace github.com/codahale/hdrhistogram => github.com/HdrHistogram/hdrhistogram-go v1.1.2

Expand Down
Loading

0 comments on commit f582000

Please sign in to comment.