File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ go : [ '1.14', '1.16', '1.18']
15+ name : Go ${{ matrix.go }}
1216 steps :
13- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v3
1418
15- - name : Setup Go
16- uses : actions/setup-go@v2
17- with :
18- go-version : 1.18
19-
20- - name : Run Tests
21- run : go test -v ./...
19+ - name : Setup Go
20+ uses : actions/setup-go@v3
21+ with :
22+ go-version : ${{ matrix.go }}
23+
24+ - name : Run Tests
25+ run : go test -v ./...
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ import (
1010 "strings"
1111)
1212
13+ // for backwards compatability with go versions <1.18
14+ type any interface {}
15+
1316type Configurator interface {
1417 GetEnvInt (field string ) int
1518 GetEnvString (field string ) string
Original file line number Diff line number Diff line change 11module github.com/bjubes/config
22
3- go 1.18
3+ go 1.14
You can’t perform that action at this time.
0 commit comments