Skip to content

Commit fad7ffd

Browse files
rjolearyrminnich
authored andcommitted
Update to go1.17.5
This is now required by u-root. Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
1 parent 9dfbdfc commit fad7ffd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,20 @@ jobs:
7373

7474
- name: Install dependent packages
7575
run: |
76+
set -ex
7677
sudo apt-get update
7778
sudo apt-get install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi{,hf} libelf-dev u-boot-tools
79+
# We need this newer version of Go.
80+
wget https://go.dev/dl/go1.17.5.linux-amd64.tar.gz
81+
sudo rm -rf /usr/local/go
82+
sudo tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz
7883
7984
# Runs a set of commands using the runners shell
8085
- name: Make ${{ matrix.mainboard }} kernel
8186
run: |
87+
set -ex
8288
cd mainboards
83-
PATH=$PATH:$GOPATH/bin
89+
PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
8490
cd $(echo ${{ matrix.mainboard }} | tr '-' '/')
8591
make fetch
8692
make flashkernel

0 commit comments

Comments
 (0)