diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cee5c81c8b65950195de4fd01b9f69ec751f036c..d6bc025f0a53e73944c74d36b7533457d6b7a772 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7bc37ca3f75b146f08a87d482b4af246c5996df..cce7f4633be322f23e3e4a11b7c3a17c70a1ff68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.goreleaser.yml b/.goreleaser.yml index 3d250a1508ccaca262b637b538442d7acf0195db..50e6ac8059d29423f2765a50a12e22658c92f9c9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index fda2f8886206e1584c05d20f18a8a7cffd6c9b33..b786c9183033248e417ede246dd836e408294411 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 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 diff --git a/README.md b/README.md index 0fc5a332011783b0f344bdd9a11fdc1f4f250f0f..413e2183f36dad56efd6166d5c90b69dd090a25a 100644 --- a/README.md +++ b/README.md @@ -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: