File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Set up Go
17- uses : actions/setup-go@v2
17+ uses : actions/setup-go@v3
1818 with :
1919 go-version : 1.21
2020
2929 GO111MODULE : on
3030
3131 - name : Upload coverage to Codecov
32- run : bash <(curl -s https://codecov.io/bash)
32+ uses : codecov/codecov-action@v4
33+ with :
34+ files : ./coverage.txt
35+ flags : unittests
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ verbose : true
Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ jobs:
2222 name : lint
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/setup-go@v3
25+ - uses : actions/setup-go@v5
2626 with :
27- go-version : 1.17
28- - uses : actions/checkout@v3
27+ go-version : ' 1.19 '
28+ - uses : actions/checkout@v4
2929 - name : golangci-lint
30- uses : golangci/golangci-lint-action@v3
30+ uses : golangci/golangci-lint-action@v6
3131 with :
3232 # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
33- version : v1.29
33+ version : v1.60
3434
3535 # Optional: working directory, useful for monorepos
3636 # working-directory: somedir
You can’t perform that action at this time.
0 commit comments