Commit e51e0ee 1 parent 327e8a9 commit e51e0ee Copy full SHA for e51e0ee
File tree 1 file changed +19
-21
lines changed
1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
test :
15
+ name : 🧪 Test
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
- - name : Checkout code 🛎️
19
- uses : actions/checkout@v2
19
+ - name : Checkout code 🛎️
20
+ uses : actions/checkout@v4
20
21
21
- - name : Set up Go 🧰
22
- uses : actions/setup-go@v3
23
- with :
24
- go-version : 1.22.4
22
+ - name : Set up Go 🧰
23
+ uses : actions/setup-go@v5
24
+ with :
25
+ go-version-file : go.mod
25
26
26
- - name : Install dependencies ⏬
27
- run : go mod tidy
27
+ - name : Run tests 🛠️
28
+ run : make test
28
29
29
- - name : Run tests 🛠️
30
- run : make test
30
+ - name : Report coverage 📈
31
+ run : go test -coverprofile=coverage.out ./...
31
32
32
- - name : Report coverage 📈
33
- run : go test -coverprofile=coverage.out ./...
34
-
35
- - name : Upload coverage to Codecov 📤
36
- uses : codecov/codecov-action@v2
37
- with :
38
- files : coverage.out
39
- flags : unittests
40
- name : codecov-umbrella
41
- fail_ci_if_error : true
42
- token : ${{ secrets.CODECOV_TOKEN }}
33
+ - name : Upload coverage to Codecov 📤
34
+ uses : codecov/codecov-action@v4
35
+ with :
36
+ files : coverage.out
37
+ flags : unittests
38
+ name : codecov-umbrella
39
+ fail_ci_if_error : true
40
+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments