Skip to content

Commit afaebf2

Browse files
authored
Add go1.17 to CI tests (#423)
1 parent d074262 commit afaebf2

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

.circleci/config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ executors:
1515
- image: circleci/golang:1.15.5
1616
exec_go_1_16:
1717
docker:
18-
- image: cimg/go:1.16.5
18+
- image: cimg/go:1.16.7
19+
exec_go_1_17:
20+
docker:
21+
- image: cimg/go:1.17
1922

2023
commands:
2124
fmt:
@@ -81,6 +84,11 @@ jobs:
8184
executor: exec_go_1_16
8285
steps:
8386
- all
87+
go1_17:
88+
working_directory: /home/circleci/go/src/github.com/cucumber/godog
89+
executor: exec_go_1_17
90+
steps:
91+
- all
8492

8593
workflows:
8694
version: 2
@@ -90,3 +98,4 @@ workflows:
9098
- go1_14
9199
- go1_15
92100
- go1_16
101+
- go1_17

colors/ansi_others.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a MIT-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !windows
56
// +build !windows
67

78
package colors

colors/ansi_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a MIT-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build windows
56
// +build windows
67

78
package colors

internal/builder/builder_go112_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// +build go1.12
2-
// +build !go1.13
1+
//go:build go1.12 && !go1.13
2+
// +build go1.12,!go1.13
33

44
package builder_test
55

internal/builder/builder_go113_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.13
12
// +build go1.13
23

34
package builder_test

release-notes/v0.12.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ You can now use `string` instead of `*godog.DocString` in declaration.
108108

109109
`godog.TestSuite` now can `RetrieveFeatures() ([]*models.Feature, error)` to expose parsed features to the user.
110110

111-
### Added official support for go1.16
111+
### Added official support for go1.16 and go1.17
112112

113-
With the introduction of go1.16, go1.16 is now officially supported.
113+
With the introduction of go1.17, go1.17 and go1.16 are now officially supported.
114114

115115
### Running scenarios as subtests of *testing.T
116116

0 commit comments

Comments
 (0)