File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
steps :
2
2
- label : Release
3
3
agents :
4
- image : golang:${GO_VERSION}
4
+ image : " golang:latest@sha256:613a108a4a4b1dfb6923305db791a19d088f77632317cfc3446825c54fb862cd " :${GO_VERSION}
5
5
cpu : " 8"
6
6
memory : " 8G"
7
7
command :
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
timeout-minutes : 5
20
20
steps :
21
- - uses : actions/checkout@v4
22
- - uses : actions/setup-go@v5
21
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
22
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
23
23
with :
24
24
go-version-file : ' go.mod'
25
25
cache : true
@@ -34,13 +34,13 @@ jobs:
34
34
name : Lint
35
35
runs-on : ubuntu-latest
36
36
steps :
37
- - uses : actions/checkout@v4
38
- - uses : actions/setup-go@v5
37
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
38
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
39
39
with :
40
40
go-version-file : ' tools/go.mod'
41
41
cache : true
42
42
cache-dependency-path : tools/go.sum
43
- - uses : hashicorp/setup-terraform@v3
43
+ - uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3
44
44
with :
45
45
terraform_wrapper : false
46
46
@@ -108,12 +108,12 @@ jobs:
108
108
- ' 8.14.3'
109
109
- ' 8.15.0'
110
110
steps :
111
- - uses : actions/checkout@v4
112
- - uses : actions/setup-go@v5
111
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
112
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
113
113
with :
114
114
go-version-file : ' go.mod'
115
115
cache : true
116
- - uses : hashicorp/setup-terraform@v3
116
+ - uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3
117
117
with :
118
118
terraform_wrapper : false
119
119
Original file line number Diff line number Diff line change 18
18
build :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
22
22
- name : Setup Go
23
- uses : actions/setup-go@v2
23
+ uses : actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2
24
24
with :
25
25
go-version : " 1.22"
26
26
- name : Setup Elasticsearch / Kibana
@@ -36,15 +36,15 @@ jobs:
36
36
until $(curl --output /dev/null --silent --head --fail -u elastic:changeme http://localhost:5601); do sleep 5; done
37
37
sleep 10
38
38
- name : golangci-lint
39
- uses : golangci/golangci-lint-action@v3
39
+ uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3
40
40
with :
41
41
version : latest
42
42
args : --timeout 600s
43
43
- name : Run build
44
44
run : go build
45
45
- name : Run test
46
46
run : make test
47
- - uses : codecov/codecov-action@v2
47
+ - uses : codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2
48
48
with :
49
49
files : coverage.out
50
50
flags : unittests
Original file line number Diff line number Diff line change 1
1
services :
2
2
elasticsearch :
3
- image : docker.elastic.co/elasticsearch/elasticsearch:8.15.0
3
+ image : docker.elastic.co/elasticsearch/elasticsearch:8.15.0@sha256:84a73ced8390c059e7bc2858595c68dc36e6f8bdb98895dcab0074eda35ac96e
4
4
environment :
5
5
cluster.name : test
6
6
discovery.type : single-node
@@ -11,7 +11,7 @@ services:
11
11
ports :
12
12
- " 9200:9200/tcp"
13
13
set-kibana-password :
14
- image : docker.elastic.co/kibana/kibana:8.15.0
14
+ image : docker.elastic.co/kibana/kibana:8.15.0@sha256:ff5f6b9a49f410658b74b337b102c302bbeb52b470efe1f0e3af3c7526fbe0e7
15
15
restart : on-failure
16
16
links :
17
17
- elasticsearch
@@ -22,7 +22,7 @@ services:
22
22
elasticsearch :
23
23
condition : service_started
24
24
kibana :
25
- image : docker.elastic.co/kibana/kibana:8.15.0
25
+ image : docker.elastic.co/kibana/kibana:8.15.0@sha256:ff5f6b9a49f410658b74b337b102c302bbeb52b470efe1f0e3af3c7526fbe0e7
26
26
environment :
27
27
SERVER_NAME : kibana
28
28
ELASTICSEARCH_HOSTS : http://es:9200
You can’t perform that action at this time.
0 commit comments