@ -2,7 +2,7 @@ os: linux
dist: jammy
language: go
go:
- 1.19.5
- 1.20
go_import_path: github.com/harmony-one/harmony
cache:
directories:
@ -1,7 +1,7 @@
FROM ubuntu:18.04
ARG TARGETARCH
ARG GOLANG_VERSION="1.19"
ARG GOLANG_VERSION="1.20"
SHELL ["/bin/bash", "-c"]
@ -1,4 +1,4 @@
FROM golang:1.19-bullseye
FROM golang:1.20-bullseye
RUN apt update
RUN apt install -y protobuf-compiler
@ -1,6 +1,6 @@
module github.com/harmony-one/harmony
go 1.19
go 1.20
require (
github.com/RoaringBitmap/roaring v1.2.3
@ -1,5 +1,5 @@
# Build
FROM golang:1.19 AS build
FROM golang:1.20 AS build
RUN apt update -y && \
apt install libgmp-dev libssl-dev git -y && \
ARG GOPATH_DEFAULT=/root/go
ARG SRC_PATH=src/github.com/harmony-one
FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder
ARG GOPATH_DEFAULT
ARG SRC_PATH