Skip to content

Commit 19fe9b7

Browse files
ci: use Go 1.22 in distro container tests
1 parent 001d6e1 commit 19fe9b7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ jobs:
4242
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ${{ matrix.distro }} /bin/bash -c "
4343
set -e
4444
if command -v apt-get >/dev/null; then
45-
apt-get update && apt-get install -y golang sqlite3 git tar zip gzip bzip2
45+
apt-get update && apt-get install -y sqlite3 git tar zip gzip bzip2 curl
4646
elif command -v dnf >/dev/null; then
47-
dnf install -y golang sqlite git tar zip gzip bzip2
47+
dnf install -y sqlite git tar zip gzip bzip2 curl
4848
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
4952
go test -v ./pkg/...
5053
go build -o qo main.go
5154
./qo --help

0 commit comments

Comments
 (0)