File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
- /vendor /
2
1
/azure-loganalytics-exporter
3
2
/example
4
3
/release-assets
Original file line number Diff line number Diff line change 18
18
with :
19
19
swap-size-gb : 12
20
20
21
+ - uses : actions/setup-go@v5
22
+ with :
23
+ go-version-file : ' go.mod'
24
+ cache-dependency-path : " go.sum"
25
+ check-latest : true
26
+
21
27
- name : Run Golangci lint
22
- uses : golangci/golangci-lint-action@v3
28
+ uses : golangci/golangci-lint-action@v4
23
29
with :
24
30
version : latest
25
31
args : --print-resources-usage
35
41
target : " final-static"
36
42
suffix : " "
37
43
latest : " auto"
44
+
38
45
runs-on : ubuntu-latest
39
46
steps :
40
47
- uses : actions/checkout@v4
44
51
with :
45
52
swap-size-gb : 12
46
53
54
+ - uses : actions/setup-go@v5
55
+ with :
56
+ go-version-file : ' go.mod'
57
+ cache-dependency-path : " go.sum"
58
+ check-latest : true
59
+
47
60
- name : Docker meta
48
61
id : docker_meta
49
62
uses : docker/metadata-action@v5
Original file line number Diff line number Diff line change 17
17
18
18
- uses : actions/setup-go@v5
19
19
with :
20
- go-version : ' 1.21'
20
+ go-version-file : ' go.mod'
21
+ cache-dependency-path : " go.sum"
21
22
check-latest : true
22
23
23
24
- name : Build
You can’t perform that action at this time.
0 commit comments