Skip to content

Commit c5ab645

Browse files
committed
Use Go 1.17 in CI
Also drop tests for 1.13 and 1.14, these are no longer supported upstream. Keep 1.12 though as this is the mimimum supported version for gops.
1 parent a22894b commit c5ab645

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
test:
1313
strategy:
1414
matrix:
15-
go-version: [1.12, 1.13, 1.14, 1.15, 1.16]
15+
# Minimum supported version (1.12) and the latest few versions
16+
go-version: [1.12, 1.15, 1.16, 1.17]
1617
platform: [ubuntu-latest, macos-latest, windows-latest]
1718
runs-on: ${{ matrix.platform }}
1819

@@ -26,11 +27,11 @@ jobs:
2627
uses: actions/checkout@v2
2728

2829
- name: Check formatting
29-
if: matrix.go-version == '1.16' && matrix.platform == 'ubuntu-latest'
30+
if: matrix.go-version == '1.17' && matrix.platform == 'ubuntu-latest'
3031
run: diff -u <(echo -n) <(go fmt $(go list ./...))
3132

3233
- name: Check module vendoring
33-
if: matrix.go-version == '1.16' && matrix.platform == 'ubuntu-latest'
34+
if: matrix.go-version == '1.17' && matrix.platform == 'ubuntu-latest'
3435
run: |
3536
go mod tidy
3637
go mod vendor

0 commit comments

Comments
 (0)