File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 23
23
uses : actions/checkout@v4
24
24
25
25
- name : Cache
26
- uses : actions/cache@v4.0.0
26
+ uses : actions/cache@v4.0.1
27
27
with :
28
28
path : |
29
29
**/go.sum
88
88
TEST_KEY_FILE_LOCATION : ${{ secrets.TEST_KEY_FILE_LOCATION }}
89
89
run : go test -v -cover -coverprofile=coverage.txt -covermode=atomic ./...
90
90
91
- - name : Upload coverage to Codecov
91
+ - name : Upload coverage reports to Codecov
92
92
if : github.event_name == 'push'
93
- run : bash <(curl -s https://codecov.io/bash)
93
+ uses : codecov/codecov-action@v4.0.1
94
+ with :
95
+ token : ${{ secrets.CODECOV_TOKEN }}
96
+ slug : pilinux/gorest
94
97
95
98
- name : Update Go report card
96
99
if : github.event_name == 'push'
Original file line number Diff line number Diff line change 23
23
uses : actions/checkout@v4
24
24
25
25
- name : Cache
26
- uses : actions/cache@v4.0.0
26
+ uses : actions/cache@v4.0.1
27
27
with :
28
28
path : |
29
29
**/go.sum
@@ -42,13 +42,13 @@ jobs:
42
42
uses : golangci/golangci-lint-action@v4
43
43
with :
44
44
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
45
- version : v1.56.1
45
+ version : v1.56.2
46
46
47
47
# Optional: working directory, useful for monorepos
48
48
# working-directory: somedir
49
49
50
50
# Optional: golangci-lint command line arguments.
51
- args : --timeout 3m --verbose
51
+ args : --timeout 5m --verbose
52
52
53
53
# Optional: show only new issues if it's a pull request. The default value is `false`.
54
54
only-new-issues : true
You can’t perform that action at this time.
0 commit comments