File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,16 @@ jobs:
1313 name : Lint
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/setup-go@v3
17- with :
18- go-version : 1.17
1916 - uses : actions/checkout@v3
2017 - uses : golangci/golangci-lint-action@v3
2118 with :
22- version : v1.45.2
19+ version : v1.49.0
2320 test :
2421 name : Test
2522 runs-on : ubuntu-latest
2623 strategy :
2724 matrix :
28- go : [ '1.16 .x', '1.17.x', '1.18 .x' ]
25+ go : [ '1.18 .x', '1.19 .x' ]
2926 steps :
3027 - uses : actions/checkout@v3
3128 - uses : actions/setup-go@v3
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ func main() {
4949 }
5050}
5151
52- //nolint: cyclop
53- func takeProvider (name string ) checkdigit.Provider {
52+ func takeProvider (name string ) checkdigit.Provider { //nolint: cyclop
5453 switch strings .ToLower (strings .ReplaceAll (name , "-" , "" )) {
5554 case "luhn" :
5655 return checkdigit .NewLuhn ()
Original file line number Diff line number Diff line change 11module github.com/osamingo/checkdigit
22
3- go 1.15
3+ go 1.18
You can’t perform that action at this time.
0 commit comments