From 9bfffe2000d499dded0dacece8a53640057f0af2 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 14 Jun 2024 22:27:51 -0400 Subject: [PATCH] ci: drop go1.18 and go1.19 Signed-off-by: Rui Chen --- .github/workflows/run-tests.yml | 5 +++-- go.mod | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d5003b0..2f194aa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,8 +6,9 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - go-version: ["1.18", "1.19", "1.20", "1.21", "1.22"] + go-version: ["1.20", "1.21", "1.22"] steps: - uses: actions/checkout@v3 @@ -20,7 +21,7 @@ jobs: run: go version - name: Install Ginkgo - run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.19.0 + run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.19.0 # in sync with go.mod - name: Run tests run: ./scripts/run_tests.sh diff --git a/go.mod b/go.mod index 0708215..842ea12 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/petergtz/pegomock/v4 -go 1.18 +go 1.20 require ( github.com/alecthomas/kingpin/v2 v2.3.2