There was an error while loading. Please reload this page.
1 parent 001d6e1 commit 19fe9b7Copy full SHA for 19fe9b7
1 file changed
.github/workflows/ci.yml
@@ -42,10 +42,13 @@ jobs:
42
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ${{ matrix.distro }} /bin/bash -c "
43
set -e
44
if command -v apt-get >/dev/null; then
45
- apt-get update && apt-get install -y golang sqlite3 git tar zip gzip bzip2
+ apt-get update && apt-get install -y sqlite3 git tar zip gzip bzip2 curl
46
elif command -v dnf >/dev/null; then
47
- dnf install -y golang sqlite git tar zip gzip bzip2
+ dnf install -y sqlite git tar zip gzip bzip2 curl
48
fi
49
+ curl -fsSL https://go.dev/dl/go1.22.10.linux-amd64.tar.gz | tar -C /usr/local -xz
50
+ export PATH=/usr/local/go/bin:\$PATH
51
+ go version
52
go test -v ./pkg/...
53
go build -o qo main.go
54
./qo --help
0 commit comments