From d824329cf8d6f92648248a8e3ff5fe0f97b869f9 Mon Sep 17 00:00:00 2001 From: Sergio VS Date: Thu, 4 Jul 2024 12:43:02 +0200 Subject: [PATCH] chore(ci/test): deprecate go 1.19 and improves --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2fde14..6678587 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,16 +3,15 @@ on: [push, pull_request] jobs: test: strategy: - fail-fast: false matrix: - go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x] - os: [ubuntu-latest, macos-latest, windows-latest] + go-version: [1.20.x, 1.21.x, 1.22.x] + os: [ubuntu-latest, macos-latest, windows-latest, macos-14] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - run: go version - - run: go get -t -v ./... - - run: go test -v -cover -race ./... + - run: go test -v -cover -shuffle=on ./... + - run: go test -v -cover -shuffle=on -race ./...