From 1bc8459007bfb7e11876de3b884796036b8c4ea3 Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Wed, 29 May 2024 12:51:04 +0530 Subject: [PATCH] chore: update go-test.yml --- .github/workflows/go-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 36e17f8..f56e3ed 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -8,12 +8,9 @@ on: jobs: test: - ## We want to define a strategy for our job strategy: - ## this will contain a matrix of all of the combinations - ## we wish to test again: matrix: - go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x] + go-version: ["1.18", "1.20", "1.21", "1.22"] platform: [ubuntu-latest, macos-latest, windows-latest] ## Defines the platform for each test run @@ -27,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: ${{ matrix.go }} - name: Run Go Test run: go test -v ./...