Skip to content

Commit 99f67d8

Browse files
committed
fix: install golang
Signed-off-by: Ramkumar Chinchani <[email protected]>
1 parent a02be57 commit 99f67d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@ jobs:
150150
dockerRunArgs: -v $GITHUB_WORKSPACE:/src --cgroupns=host
151151

152152
# Set an output parameter `uname` for use in subsequent steps
153-
install: |
153+
run: |
154154
uname -a
155155
echo ::set-output name=uname::$(uname -a)
156156
# setup golang
157157
apt-get update
158158
apt-get install -yy wget curl tar software-properties-common git pkgconf build-essential
159159
cd /tmp
160-
wget -N https://go.dev/dl/go1.20.5.linux-${{ matrix.arch }}.tar.gz
160+
wget -N https://go.dev/dl/go1.20.8.linux-${{ matrix.arch }}.tar.gz
161161
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.5.linux-${{ matrix.arch }}.tar.gz
162162
export PATH=$PATH:/usr/local/go/bin
163163
# install dependencies
@@ -168,7 +168,7 @@ jobs:
168168
GO111MODULE=off go get github.com/opencontainers/umoci/cmd/umoci
169169
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
170170
apt-get install -yy autoconf automake make autogen autoconf libtool binutils git squashfs-tools libcryptsetup-dev libdevmapper-dev cryptsetup-bin squashfuse
171-
run: |
171+
export PATH=$PATH:/usr/local/go/bin
172172
cd /src
173173
make go-download
174174
make show-info

0 commit comments

Comments
 (0)