File tree Expand file tree Collapse file tree 5 files changed +10
-25
lines changed Expand file tree Collapse file tree 5 files changed +10
-25
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,12 @@ jobs:
41
41
working-directory : src/github.com/containerd/containerd
42
42
43
43
steps :
44
- - uses : actions/setup-go@v5
45
- with :
46
- go-version : " 1.21.6"
47
-
48
44
- uses : actions/checkout@v4
49
45
with :
50
46
path : src/github.com/containerd/containerd
51
47
48
+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
49
+
52
50
- name : Set env
53
51
shell : bash
54
52
run : |
Original file line number Diff line number Diff line change 32
32
- name : Checkout repository
33
33
uses : actions/checkout@v4
34
34
35
- - uses : actions/setup-go@v5
36
- with :
37
- go-version : 1.21.6
35
+ - uses : ./.github/actions/install-go
38
36
39
37
# Initializes the CodeQL tools for scanning.
40
38
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 40
40
runs-on : ubuntu-latest
41
41
timeout-minutes : 30
42
42
steps :
43
- - uses : actions/setup-go@v5
44
- with :
45
- go-version : 1.21.x
46
43
- uses : actions/checkout@v4
44
+ - uses : ./.github/actions/install-go
47
45
- run : script/go-test-fuzz.sh
Original file line number Diff line number Diff line change @@ -26,14 +26,12 @@ jobs:
26
26
working-directory : src/github.com/containerd/containerd
27
27
28
28
steps :
29
- - uses : actions/setup-go@v5
30
- with :
31
- go-version : " 1.21.6"
32
-
33
29
- uses : actions/checkout@v4
34
30
with :
35
31
path : src/github.com/containerd/containerd
36
32
33
+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
34
+
37
35
- name : Set env
38
36
shell : bash
39
37
run : |
Original file line number Diff line number Diff line change 6
6
paths :
7
7
- " .github/workflows/nightly.yml"
8
8
9
- env :
10
- GO_VERSION : " 1.21.6"
11
-
12
9
permissions : # added using https://github.com/step-security/secure-workflows
13
10
contents : read
14
11
@@ -23,14 +20,12 @@ jobs:
23
20
working-directory : src/github.com/containerd/containerd
24
21
25
22
steps :
26
- - uses : actions/setup-go@v5
27
- with :
28
- go-version : ${{ env.GO_VERSION }}
29
-
30
23
- uses : actions/checkout@v4
31
24
with :
32
25
path : src/github.com/containerd/containerd
33
26
27
+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
28
+
34
29
- name : Set env
35
30
shell : bash
36
31
run : |
@@ -143,14 +138,12 @@ jobs:
143
138
working-directory : src/github.com/containerd/containerd
144
139
145
140
steps :
146
- - uses : actions/setup-go@v5
147
- with :
148
- go-version : ${{ env.GO_VERSION }}
149
-
150
141
- uses : actions/checkout@v4
151
142
with :
152
143
path : src/github.com/containerd/containerd
153
144
145
+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
146
+
154
147
- name : Set env
155
148
shell : bash
156
149
run : |
You can’t perform that action at this time.
0 commit comments