File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -28,48 +28,36 @@ jobs:
28
28
- " 1.13"
29
29
- " 1.12"
30
30
- " 1.11"
31
- - " 1.10"
32
- - " 1.9"
33
- - " 1.8"
34
31
35
32
steps :
33
+ - name : Check out code into the Go module directory
34
+ uses : actions/checkout@v3
35
+
36
36
- name : Set up Go ${{ matrix.go }}
37
37
uses : actions/setup-go@v4
38
38
with :
39
39
go-version : ${{ matrix.go }}
40
- id : go
41
- - run : |
42
- go version
43
- echo GOPATH="$GITHUB_WORKSPACE" >> "$GITHUB_ENV"
44
- shell: bash
45
-
46
- - name : Check out code into the Go module directory
47
- uses : actions/checkout@v3
48
- with :
49
- path : src/github.com/shogo82148/go-sql-proxy
50
40
51
41
- name : Test
52
42
run : go test -v -coverprofile=coverage.txt .
53
- env :
54
- GO111MODULE : " on"
55
43
shell : bash
56
- working-directory : src/github.com/shogo82148/go-sql-proxy
57
44
58
45
- name : Send coverage to coveralls.io
59
46
uses : shogo82148/actions-goveralls@v1
60
47
with :
61
48
path-to-profile : coverage.txt
62
49
parallel : true
63
- working-directory : src/github.com/shogo82148/go-sql-proxy
64
50
flag-name : ${{ matrix.os }}-Go-${{ matrix.go }}
51
+
65
52
- name : Send coverage to codecov.io
66
53
uses : codecov/codecov-action@v3
67
54
with :
68
55
env_vars : OS,GO
69
- root_dir : src/github.com/shogo82148/go-sql-proxy
56
+ root_dir : .
70
57
env :
71
58
OS : ${{ matrix.os }}
72
59
GO : ${{ matrix.go }}
60
+
73
61
finish :
74
62
needs : test
75
63
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments