From 02b48bd4848103e2d8245768575b397728384490 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Wed, 28 Sep 2022 22:31:42 +0300 Subject: [PATCH] Build with Go 1.19 Signed-off-by: Stefan Prodan --- .github/workflows/release.yaml | 2 +- Dockerfile.libgit2-only | 2 +- Dockerfile.test-libgit2-only | 2 +- tests/smoketest/go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fd0c748..2ace17d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -107,7 +107,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: 1.18.x + go-version: 1.19.x - name: Setup Cosign uses: sigstore/cosign-installer@main - name: Setup Syft diff --git a/Dockerfile.libgit2-only b/Dockerfile.libgit2-only index ea48512..d2c4787 100644 --- a/Dockerfile.libgit2-only +++ b/Dockerfile.libgit2-only @@ -1,7 +1,7 @@ # This Dockerfile builds and packages libgit2 only (not linked with openssl and libssh2) ARG BASE_VARIANT=alpine -ARG GO_VERSION=1.18 +ARG GO_VERSION=1.19 ARG XX_VERSION=1.1.2 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx diff --git a/Dockerfile.test-libgit2-only b/Dockerfile.test-libgit2-only index 6201cec..0af40be 100644 --- a/Dockerfile.test-libgit2-only +++ b/Dockerfile.test-libgit2-only @@ -1,7 +1,7 @@ # This Dockerfile builds and packages libgit2 only (not linked with openssl and libssh2); and tests it against git2go. ARG BASE_VARIANT=alpine -ARG GO_VERSION=1.18 +ARG GO_VERSION=1.19 ARG XX_VERSION=1.1.2 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx diff --git a/tests/smoketest/go.mod b/tests/smoketest/go.mod index 14a3380..1fe19fa 100644 --- a/tests/smoketest/go.mod +++ b/tests/smoketest/go.mod @@ -1,6 +1,6 @@ module github.com/fluxcd/golang-with-libgit2/tests/sample -go 1.18 +go 1.19 // A temporary fork of git2go was created to enable use // of libgit2 without thread support to fix: