File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed
Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 1111
1212 strategy :
1313 matrix :
14- go-version : [ 1.17 , 1.x ]
14+ go-version : [ 1.19 , 1.x ]
1515 os : [ubuntu-latest, macos-latest, windows-latest]
1616
1717 steps :
2727
2828 # https://github.com/marketplace/actions/cache
2929 - name : Cache Go modules
30- uses : actions/cache@v2
30+ uses : actions/cache@v3
3131 with :
3232 # In order:
3333 # * Module download cache
Original file line number Diff line number Diff line change 1212 name : Main Process
1313 runs-on : ubuntu-latest
1414 env :
15- GO_VERSION : 1.17
16- GOLANGCI_LINT_VERSION : v1.46.2
17- YAEGI_VERSION : v0.13.0
15+ GO_VERSION : 1.19
16+ GOLANGCI_LINT_VERSION : v1.50.0
17+ YAEGI_VERSION : v0.14.2
1818 CGO_ENABLED : 0
1919 defaults :
2020 run :
3737
3838 # https://github.com/marketplace/actions/cache
3939 - name : Cache Go modules
40- uses : actions/cache@v2
40+ uses : actions/cache@v3
4141 with :
4242 path : ${{ github.workspace }}/go/pkg/mod
4343 key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Original file line number Diff line number Diff line change @@ -29,11 +29,20 @@ linters-settings:
2929linters :
3030 enable-all : true
3131 disable :
32+ - deadcode # deprecated
33+ - exhaustivestruct # deprecated
34+ - golint # deprecated
35+ - ifshort # deprecated
3236 - interfacer # deprecated
3337 - maligned # deprecated
38+ - nosnakecase # deprecated
3439 - scopelint # deprecated
35- - golint # deprecated
36- - exhaustivestruct # deprecated
40+ - scopelint # deprecated
41+ - structcheck # deprecated
42+ - varcheck # deprecated
43+ - sqlclosecheck # not relevant (SQL)
44+ - rowserrcheck # not relevant (SQL)
45+ - execinquery # not relevant (SQL)
3746 - cyclop # duplicate of gocyclo
3847 - bodyclose # Too many false positives: https://github.com/timakin/bodyclose/issues/30
3948 - dupl
Original file line number Diff line number Diff line change 11module github.com/traefik/plugindemo
22
3- go 1.17
3+ go 1.19
You can’t perform that action at this time.
0 commit comments