1111
1212jobs :
1313 setup :
14- runs-on : ubuntu-latest
14+ runs-on : ubuntu-latest-large
1515 outputs :
1616 version-tag : ${{ steps.regex-match.outputs.match }}
1717 steps :
18- - uses : actions-ecosystem/action-regex-match@v2
18+ - uses : actions-ecosystem/action-regex-match@9e6c4fb3d5e898f505be7a1fb6e7b0a278f6665b # v2
1919 id : regex-match
2020 with :
2121 text : ${{ github.ref_name }}
2929
3030
3131 test270 :
32- runs-on : ubuntu-latest
32+ runs-on : ubuntu-latest-large
3333 container :
3434 image : cimg/go:1.24.4
3535 env :
3838 KAFKA_TOPICS_TEST_KAFKA_ADDR : kafka1:9092
3939 steps :
4040 - name : Check out repository code
41- uses : actions/checkout@v3
41+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4242 - name : Go setup
43- uses : actions/setup-go@v3
43+ uses : actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
4444 with :
4545 go-version : 1.24.4
4646 - name : Display Go version
@@ -145,7 +145,7 @@ jobs:
145145 KAFKA_CFG_ALLOW_EVERYONE_IF_NO_ACL_FOUND : true
146146
147147 test360 :
148- runs-on : ubuntu-latest
148+ runs-on : ubuntu-latest-large
149149 container :
150150 image : cimg/go:1.24.4
151151 env :
@@ -154,9 +154,9 @@ jobs:
154154 KAFKA_TOPICS_TEST_KAFKA_ADDR : kafka1:9092
155155 steps :
156156 - name : Check out repository code
157- uses : actions/checkout@v3
157+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
158158 - name : Go setup
159- uses : actions/setup-go@v3
159+ uses : actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
160160 with :
161161 go-version : 1.24.4
162162 - name : Display Go version
@@ -262,17 +262,17 @@ jobs:
262262
263263 publish-ghcr :
264264 needs : [setup, test270, test360]
265- runs-on : ubuntu-latest
265+ runs-on : ubuntu-latest-large
266266 if : ${{ ( github.ref_type == 'branch' ) && (( github.ref_name == 'master' ) || ( github.ref_name == 'v0' )) }}
267267 steps :
268- - uses : actions/checkout@v3
268+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
269269 - name : setup env variables
270270 id : vars
271271 run : |
272272 echo "SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
273273 - run : echo "publishing the image ghcr.io/segmentio/topicctl:${SHORT_SHA}"
274274 - name : Log in to the Container registry
275- uses : docker/login-action@v2
275+ uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
276276 with :
277277 registry : ghcr.io
278278 username : ${{ github.actor }}
@@ -307,13 +307,13 @@ jobs:
307307 environment : CICD
308308 env :
309309 RELEASE_TAG : ${{ needs.setup.outputs.version-tag }}
310- runs-on : ubuntu-latest
310+ runs-on : ubuntu-latest-large
311311 if : ${{ ( github.ref_type == 'tag' ) && ( needs.setup.outputs.version-tag != '') }}
312312 steps :
313- - uses : actions/checkout@v3
313+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
314314 - run : echo "publishing the release version segment/topicctl:${RELEASE_TAG}"
315315 - name : Dockerhub login
316- uses : docker/login-action@v2
316+ uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
317317 with :
318318 username : ${{ vars.DOCKERHUB_USER }}
319319 password : ${{ secrets.DOCKERHUB_TOKEN }}
0 commit comments