0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

actions: always test with latest go version

This commit is contained in:
Will Norris 2020-01-26 23:11:21 +00:00
parent c2dd079584
commit 3bdd0fe8ed

View file

@ -7,7 +7,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
go-version: [1.12.x, 1.13.x] go-version: [1.x, 1.12.x]
platform: [ubuntu-latest, windows-latest] platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -18,12 +18,11 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Cache go modules - name: Cache go modules
uses: actions/cache@v1.1.0 uses: actions/cache@v1
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: | restore-keys: ${{ runner.os }}-go-
${{ runner.os }}-go-
- name: Run go fmt - name: Run go fmt
if: runner.os != 'Windows' if: runner.os != 'Windows'