File tree 3 files changed +4
-34
lines changed
3 files changed +4
-34
lines changed Original file line number Diff line number Diff line change 17
17
- name : Setup go
18
18
uses : actions/setup-go@v5
19
19
with :
20
- go-version : " 1.17.x"
21
-
22
- - name : Cache Go Dependencies
23
- uses : actions/cache@v4
24
- with :
25
- path : |
26
- ~/.cache/go-build
27
- ~/go/pkg/mod
28
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
29
- restore-keys : |
30
- ${{ runner.os }}-go-
20
+ go-version-file : " go.mod"
31
21
32
22
- name : Vet
33
23
run : go vet
47
37
- name : Setup go
48
38
uses : actions/setup-go@v5
49
39
with :
50
- go-version : " 1.17.x"
51
-
52
- - name : Cache Go Dependencies
53
- uses : actions/cache@v4
54
- with :
55
- path : |
56
- ~/.cache/go-build
57
- ~/go/pkg/mod
58
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
59
- restore-keys : |
60
- ${{ runner.os }}-go-
40
+ go-version-file : " go.mod"
61
41
62
42
- name : Build
63
43
run : go build ./...
Original file line number Diff line number Diff line change 15
15
- name : Setup go
16
16
uses : actions/setup-go@v5
17
17
with :
18
- go-version : ' 1.17.x'
19
-
20
- - name : Cache Go Dependencies
21
- uses : actions/cache@v4
22
- with :
23
- path : |
24
- ~/.cache/go-build
25
- ~/go/pkg/mod
26
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27
- restore-keys : |
28
- ${{ runner.os }}-go-
18
+ go-version-file : " go.mod"
29
19
30
20
- name : Login to Docker Hub
31
21
uses : docker/login-action@v3.1.0
Original file line number Diff line number Diff line change 1
1
module github.com/systemli/prometheus-etherpad-exporter
2
2
3
- go 1.17
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/google/go-cmp v0.6.0
You can’t perform that action at this time.
0 commit comments