From e167c8804a724511aaf972af3f4e6a417997da77 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Wed, 18 Jan 2023 20:50:28 +0100 Subject: [PATCH] ci: bump Go versions --- .github/workflows/test.yml | 15 ++++++++++----- go.mod | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5649f292..1384092a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,23 +11,28 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.17.x, 1.18.x] - os: [ubuntu-latest, macos-latest, windows-latest] + go-version: + - '1.18.x' + - '1.19.x' + os: + - ubuntu-latest + - macos-latest + - windows-latest runs-on: ${{ matrix.os }} steps: + - name: Checkout code + uses: actions/checkout@v3 - name: Install Go uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} - - name: Checkout code - uses: actions/checkout@v3 - name: Test run: | go test ./... go test -race ./... - name: Tidy - if: matrix.os == 'ubuntu-latest' # no need to do this everywhere + if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.19.x' # no need to do this everywhere run: | go mod tidy diff --git a/go.mod b/go.mod index 3da36bc0..459c0361 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/rogpeppe/go-internal -go 1.17 +go 1.18 require github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e