From 86f7a43f1c1f89c3713d5188650aab2626325126 Mon Sep 17 00:00:00 2001 From: Ross Light Date: Tue, 1 Aug 2023 13:29:26 -0700 Subject: [PATCH] all: build and test with Go 1.19 Want to ensure we build with minimum supported version. --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 2 +- flake.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3494a86..04d73ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,6 +76,6 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.19" - name: Run tests run: go test -mod=readonly -v -race ./... diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8312bfc..335ad12 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.19" - name: Fetch release from proxy run: go get -d gg-scm.io/pkg/git@"$(echo "$GITHUB_REF" | sed -e 's:^refs/tags/::')" env: diff --git a/flake.nix b/flake.nix index b75097c..71bb610 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,7 @@ let pkgs = import nixpkgs { inherit system; }; in { - packages.go = pkgs.go_1_20; + packages.go = pkgs.go_1_19; packages.git = pkgs.git;