File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212
1313 lint :
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-22 .04
1515 steps :
16- - uses : actions/setup-go@v3
16+ - uses : actions/setup-go@v5
1717 with :
18- go-version : 1.20.x
19- - uses : actions/checkout@v3
20- - uses : golangci/golangci-lint-action@v3
18+ go-version : 1.x # latest
19+ - uses : actions/checkout@v4
20+ - uses : golangci/golangci-lint-action@v6
2121 with :
22- version : v1.51.2
22+ version : v1.61
2323
2424 commit :
2525 runs-on : ubuntu-22.04
@@ -44,14 +44,14 @@ jobs:
4444 strategy :
4545 fail-fast : false
4646 matrix :
47- go-version : [1.19.x, 1.20 .x]
47+ go-version : [1.19.x, 1.22.x, 1.23 .x]
4848 race : ["-race", ""]
4949
5050 steps :
5151 - name : checkout
52- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
5353 - name : install go ${{ matrix.go-version }}
54- uses : actions/setup-go@v3
54+ uses : actions/setup-go@v5
5555 with :
5656 go-version : ${{ matrix.go-version }}
5757 - name : build
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ func before(context *cli.Context) error {
5656 logLevelString := context .GlobalString ("log-level" )
5757 logLevel , err := logrus .ParseLevel (logLevelString )
5858 if err != nil {
59- logrus .Fatalf (err . Error () )
59+ logrus .Fatal (err )
6060 }
6161 logrus .SetLevel (logLevel )
6262
You can’t perform that action at this time.
0 commit comments