File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,14 +41,12 @@ jobs:
4141 working-directory : src/github.com/containerd/containerd
4242
4343 steps :
44- - uses : actions/setup-go@v5
45- with :
46- go-version : " 1.20.13"
47-
4844 - uses : actions/checkout@v4
4945 with :
5046 path : src/github.com/containerd/containerd
5147
48+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
49+
5250 - name : Set env
5351 shell : bash
5452 run : |
Original file line number Diff line number Diff line change 3232 - name : Checkout repository
3333 uses : actions/checkout@v4
3434
35- - uses : actions/setup-go@v5
36- with :
37- go-version : 1.20.13
35+ - uses : ./.github/actions/install-go
3836
3937 # Initializes the CodeQL tools for scanning.
4038 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 4040 runs-on : ubuntu-latest
4141 timeout-minutes : 30
4242 steps :
43- - uses : actions/setup-go@v5
44- with :
45- # FIXME: go-fuzz fails with Go 1.20: `cgo_unix_cgo_res.cgo2.c:(.text+0x32): undefined reference to `__res_search'`
46- # https://github.com/containerd/containerd/pull/8103#issuecomment-1429256152
47- go-version : 1.18
4843 - uses : actions/checkout@v4
44+ - uses : ./.github/actions/install-go
4945 - run : script/go-test-fuzz.sh
Original file line number Diff line number Diff line change @@ -26,14 +26,12 @@ jobs:
2626 working-directory : src/github.com/containerd/containerd
2727
2828 steps :
29- - uses : actions/setup-go@v5
30- with :
31- go-version : " 1.20.13"
32-
3329 - uses : actions/checkout@v4
3430 with :
3531 path : src/github.com/containerd/containerd
3632
33+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
34+
3735 - name : Set env
3836 shell : bash
3937 run : |
Original file line number Diff line number Diff line change 66 paths :
77 - " .github/workflows/nightly.yml"
88
9- env :
10- GO_VERSION : " 1.20.13"
11-
129permissions : # added using https://github.com/step-security/secure-workflows
1310 contents : read
1411
@@ -23,14 +20,12 @@ jobs:
2320 working-directory : src/github.com/containerd/containerd
2421
2522 steps :
26- - uses : actions/setup-go@v5
27- with :
28- go-version : ${{ env.GO_VERSION }}
29-
3023 - uses : actions/checkout@v4
3124 with :
3225 path : src/github.com/containerd/containerd
3326
27+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
28+
3429 - name : Set env
3530 shell : bash
3631 run : |
@@ -143,14 +138,12 @@ jobs:
143138 working-directory : src/github.com/containerd/containerd
144139
145140 steps :
146- - uses : actions/setup-go@v5
147- with :
148- go-version : ${{ env.GO_VERSION }}
149-
150141 - uses : actions/checkout@v4
151142 with :
152143 path : src/github.com/containerd/containerd
153144
145+ - uses : ./src/github.com/containerd/containerd/.github/actions/install-go
146+
154147 - name : Set env
155148 shell : bash
156149 run : |
You can’t perform that action at this time.
0 commit comments