File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 24
24
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
25
- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
26
26
with :
27
- go-version : ' ~1.21.9 '
27
+ go-version-file : collector/go.mod
28
28
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
29
29
with :
30
30
path : ~/go/pkg/mod
47
47
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48
48
- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
49
49
with :
50
- go-version : ' ~1.21.9 '
50
+ go-version-file : collector/go.mod
51
51
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
52
52
with :
53
53
path : ~/go/pkg/mod
Original file line number Diff line number Diff line change 78
78
- name : Setup Go
79
79
uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
80
80
with :
81
- go-version : ' ~1.21.9 '
81
+ go-version-file : collector/go.mod
82
82
- name : Build Collector
83
83
run : |
84
84
if [[ -n "${{ inputs.build-tags }}" ]]; then
Original file line number Diff line number Diff line change 37
37
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38
38
- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
39
39
with :
40
- go-version : ' ^1.24.2 '
40
+ go-version-file : collector/go.mod
41
41
- name : build
42
42
run : make -C collector package GOARCH=${{ matrix.architecture }}
43
43
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 34
34
35
35
.PHONY : build
36
36
build : clean set-otelcol-version
37
- @echo Building otel collector extension
37
+ @echo Building otel collector extension, $( shell go version)
38
38
mkdir -p $(BUILD_SPACE ) /extensions
39
39
GOOS=linux GOARCH=$(GOARCH ) $(GOBUILD ) $(LDFLAGS ) -o $(BUILD_SPACE ) /extensions .
40
40
You can’t perform that action at this time.
0 commit comments