Bump go toolchain version to 1.21 to support slices (not 1.18 as incorrectly tried in the previous commit)
This commit is contained in:
parent
c428c95a4c
commit
574be89062
@ -3,7 +3,7 @@ from ubuntu:jammy
|
|||||||
run apt update && apt install -y sudo curl wget build-essential sqlite3 jq git musl-dev musl-tools
|
run apt update && apt install -y sudo curl wget build-essential sqlite3 jq git musl-dev musl-tools
|
||||||
|
|
||||||
# Install go and golangci-lint
|
# Install go and golangci-lint
|
||||||
run wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
|
run wget https://go.dev/dl/go1.21.4.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz
|
||||||
env PATH="$PATH:/usr/local/go/bin"
|
env PATH="$PATH:/usr/local/go/bin"
|
||||||
run curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/go/bin v1.59.1
|
run curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/go/bin v1.59.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user