You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/03/07 21:41:21 UTC

[mynewt-nimble] branch master updated: ci: Use latest go for building newt

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 377c6107 ci: Use latest go for building newt
377c6107 is described below

commit 377c6107ed8c016304949d6d338ff3d8ff90ce48
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Tue Mar 7 21:50:57 2023 +0100

    ci: Use latest go for building newt
    
    This should make it easier for upgrading dependencies in newt.
---
 .github/workflows/build_targets.yml      | 4 ++--
 .github/workflows/newt_test_all.yml      | 4 ++--
 .github/workflows/ports_syscfg_check.yml | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build_targets.yml b/.github/workflows/build_targets.yml
index c14f8da1..ec7c1ac7 100644
--- a/.github/workflows/build_targets.yml
+++ b/.github/workflows/build_targets.yml
@@ -33,7 +33,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
         with:
-          go-version: '1.16'
+          go-version: 'stable'
       - uses: carlosperate/arm-none-eabi-gcc-action@48db4484a55750df7a0ccca63347fcdea6534d78
         with:
           release: '12.2.Rel1'
@@ -45,7 +45,7 @@ jobs:
       - name: Install newt
         run: |
              go version
-             go get mynewt.apache.org/newt/newt@latest
+             go install mynewt.apache.org/newt/newt@latest
       - name: Setup project
         run: |
              cp .github/project.yml project.yml
diff --git a/.github/workflows/newt_test_all.yml b/.github/workflows/newt_test_all.yml
index 26048d9f..988ba09f 100644
--- a/.github/workflows/newt_test_all.yml
+++ b/.github/workflows/newt_test_all.yml
@@ -29,7 +29,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
         with:
-          go-version: '1.16'
+          go-version: 'stable'
       - name: Install Dependencies
         run: |
              sudo apt-get update
@@ -37,7 +37,7 @@ jobs:
       - name: Install newt
         run: |
              go version
-             go get mynewt.apache.org/newt/newt@latest
+             go install mynewt.apache.org/newt/newt@latest
       - name: Setup project
         run: |
              cp .github/project.yml project.yml
diff --git a/.github/workflows/ports_syscfg_check.yml b/.github/workflows/ports_syscfg_check.yml
index 4dbea4e3..07f13005 100644
--- a/.github/workflows/ports_syscfg_check.yml
+++ b/.github/workflows/ports_syscfg_check.yml
@@ -29,7 +29,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
         with:
-          go-version: '1.16'
+          go-version: 'stable'
       - uses: carlosperate/arm-none-eabi-gcc-action@48db4484a55750df7a0ccca63347fcdea6534d78
         with:
           release: '12.2.Rel1'
@@ -40,7 +40,7 @@ jobs:
       - name: Install newt
         run: |
              go version
-             go get mynewt.apache.org/newt/newt@latest
+             go install mynewt.apache.org/newt/newt@latest
       - name: Setup project
         run: |
              mkdir /tmp/proj