Skip to content
Snippets Groups Projects
Commit c4bde35d authored by Hans Moog's avatar Hans Moog
Browse files

Feat: Change to go 1.14

parent 89f0a5bc
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ jobs:
name: Release
runs-on: [ubuntu-latest]
container:
image: iotmod/goreleaser-cgo-cross-compiler:1.13.5
image: iotmod/goreleaser-cgo-cross-compiler:1.4
volumes: [/repo]
steps:
......
......@@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: 1.14
- name: Check out code into the Go module directory
uses: actions/checkout@v2
......
......@@ -13,13 +13,9 @@ builds:
- id: goshimmer-darwin-amd64
binary: goshimmer
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/iotaledger/goshimmer/plugins/cli.AppVersion={{.Version}}
flags:
- -tags=pow_avx
main: main.go
goos:
- darwin
......
# we need to use alpine to build since cgo is required
FROM golang:1.13-alpine AS build
FROM golang:1.14-alpine AS build
RUN apk add --no-cache git gcc g++
# Set the current Working Directory inside the container
......
......@@ -128,7 +128,7 @@ If you want to build your own executable file, you need to follow these steps.
#### Prerequisites
To complete this guide, you need to have at least [version 1.13 of Go installed](https://golang.org/doc/install) on your device.
To complete this guide, you need to have at least [version 1.14 of Go installed](https://golang.org/doc/install) on your device.
To check if you have Go installed, run the following command:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment