mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
actions: always test with latest go version
This commit is contained in:
parent
c2dd079584
commit
3bdd0fe8ed
1 changed files with 3 additions and 4 deletions
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue