diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 36e17f8..9a97ff1 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -8,26 +8,22 @@ 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] - platform: [ubuntu-latest, macos-latest, windows-latest] + go-version: ["1.18", "1.20", "1.21", "1.22"] + platform: [ubuntu-latest] - ## Defines the platform for each test run runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.15 - + go-version: ${{ matrix.go }} + check-latest: true - name: Run Go Test run: go test -v ./...