From 3bdd0fe8ed38f0f49390412e1b2fcec7598443b4 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sun, 26 Jan 2020 23:11:21 +0000 Subject: [PATCH] actions: always test with latest go version --- .github/workflows/tests.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f1e1c5..2408b51 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: test: strategy: matrix: - go-version: [1.12.x, 1.13.x] + go-version: [1.x, 1.12.x] platform: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.platform }} @@ -18,12 +18,11 @@ jobs: - uses: actions/checkout@v2 - name: Cache go modules - uses: actions/cache@v1.1.0 + uses: actions/cache@v1 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + restore-keys: ${{ runner.os }}-go- - name: Run go fmt if: runner.os != 'Windows'