Skip to content

Commit

Permalink
Update Go compiler version (lf-edge#346)
Browse files Browse the repository at this point in the history
Signed-off-by: Taras Drozdovskyi <t.drozdovsky@samsung.com>

- Due to the need to interact with edgex 2.0.0, a requirement has arisen to use the new version of the Go1.16 compiler
- Fixes lf-edge#325
  • Loading branch information
tdrozdovsky authored Aug 6, 2021
1 parent 6bc65c0 commit 6ca5edb
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v1
with:
go-version: '1.16.4'
go-version: '1.16.6'

- name: Install Qemu
if: ${{ matrix.arch != 'x86_64c' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v1
with:
go-version: '1.16.4'
go-version: '1.16.6'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .github/workflows/lint-vet-gofmt-staticcheck-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v1
with:
go-version: '1.16.4'
go-version: '1.16.6'

- name: Set env vars (golint)
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v1
with:
go-version: '1.16.4'
go-version: '1.16.6'

- name: Set env vars (gocov)
run: |
Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/orange_pi3/orange_pi3.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ $ newgrp docker
> For [execution of docker commands with non-root privileges](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user) you need to add `$USER` to docker group.
`$ sudo usermod -aG docker $USER`

- go compiler (install a version not lower than 1.12.5)
- go compiler (install a version not lower than 1.16.2, recommended v1.16.6))

```sh
$ wget https://dl.google.com/go/go1.16.2.linux-arm64.tar.gz
$ tar -C $HOME -xvf go1.16.2.linux-arm64.tar.gz
$ wget https://dl.google.com/go/go1.16.6.linux-arm64.tar.gz
$ tar -C $HOME -xvf go1.16.6.linux-arm64.tar.gz
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin
```
Expand Down
6 changes: 3 additions & 3 deletions docs/platforms/raspberry_pi3/raspberry_pi3.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ $ newgrp docker
> For [execution of docker commands with non-root privileges](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user) you need to add `$USER` to docker group.
`$ sudo usermod -aG docker $USER`

- go compiler (install a version not lower than 1.12.5, recommended v1.14.x)
- go compiler (install a version not lower than 1.16.2, recommended v1.16.6)

```sh
$ wget https://dl.google.com/go/go1.14.5.linux-armv6l.tar.gz
$ sudo tar -C /usr/local -xvf go1.14.5.linux-armv6l.tar.gz
$ wget https://dl.google.com/go/go1.16.6.linux-armv6l.tar.gz
$ sudo tar -C /usr/local -xvf go1.16.6.linux-armv6l.tar.gz
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin:/usr/local/go/bin
```
Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/x86_64_linux/x86_64_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Please see the below [How to work](#how-to-work) to know how to run Edge Orchest
`$ sudo usermod -aG docker $USER`

- go compiler
- Version: 1.15 (or above)
- Version: 1.16.6 (or above)
- [How to install](https://golang.org/dl/)

> To build Edge Orchestrator from Go sources, you need to set GOPATH environment variable:
Expand Down

0 comments on commit 6ca5edb

Please sign in to comment.