@@ -18,11 +18,11 @@ jobs:
1818 modules_count : ${{ steps.set-modified-modules-count.outputs.modules_count }}
1919 steps :
2020 - name : Check out code into the Go module directory
21- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2 .2
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0 .2
2222
2323 - id : changed-files
2424 name : Get changed files
25- uses : tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf # v45 .0.4
25+ uses : tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47 .0.1
2626
2727 - id : set-modified-modules
2828 name : Set all modified modules
6161 # We don't want to fail the build the soonest but identify which modules passed and failed.
6262 fail-fast : false
6363 matrix :
64- go-version : [1.23 .x, 1.24 .x]
64+ go-version : [1.25 .x, 1.26 .x]
6565 module : ${{ fromJSON(needs.detect-modules.outputs.modules) }}
6666 permissions :
6767 contents : read # for actions/checkout to fetch code
@@ -71,10 +71,33 @@ jobs:
7171 go-version : ${{ matrix.go-version }}
7272 platforms : ${{ matrix.module == 'modulegen' && '["ubuntu-latest", "macos-latest", "windows-latest"]' || '["ubuntu-latest"]' }}
7373 project-directory : " ${{ matrix.module }}"
74+ testcontainers-cloud : false
7475 rootless-docker : false
7576 ryuk-disabled : false
7677 secrets : inherit
7778
79+ # The job below is a copy of the job above, but using Docker Cloud.
80+ test-testcontainers-cloud :
81+ # the core module is identified by the empty string (the root path)
82+ if : ${{ contains(fromJSON(needs.detect-modules.outputs.modules), '') }}
83+ needs :
84+ - detect-modules
85+ - lint
86+ name : " Test using Testcontainers Cloud"
87+ strategy :
88+ # We don't want to fail the build the soonest but identify which modules passed and failed.
89+ fail-fast : false
90+ matrix :
91+ go-version : [1.25.x, 1.26.x]
92+ uses : ./.github/workflows/ci-test-go.yml
93+ with :
94+ go-version : ${{ matrix.go-version }}
95+ platforms : ' ["ubuntu-latest"]'
96+ project-directory : " ."
97+ testcontainers-cloud : true
98+ rootless-docker : false
99+ ryuk-disabled : false
100+
78101 # The job below is a copy of the job above, but with ryuk disabled.
79102 # It's executed in the first stage to avoid concurrency issues.
80103 test-reaper-off :
@@ -86,12 +109,13 @@ jobs:
86109 name : " Test with reaper off"
87110 strategy :
88111 matrix :
89- go-version : [1.23 .x, 1.24 .x]
112+ go-version : [1.25 .x, 1.26 .x]
90113 uses : ./.github/workflows/ci-test-go.yml
91114 with :
92115 go-version : ${{ matrix.go-version }}
93116 platforms : ' ["ubuntu-latest"]'
94117 project-directory : " ."
118+ testcontainers-cloud : false
95119 rootless-docker : false
96120 ryuk-disabled : true
97121
@@ -106,12 +130,13 @@ jobs:
106130 name : " Test with Rootless Docker"
107131 strategy :
108132 matrix :
109- go-version : [1.23 .x, 1.24 .x]
133+ go-version : [1.25 .x, 1.26 .x]
110134 uses : ./.github/workflows/ci-test-go.yml
111135 with :
112136 go-version : ${{ matrix.go-version }}
113137 platforms : ' ["ubuntu-latest"]'
114138 project-directory : " ."
139+ testcontainers-cloud : false
115140 rootless-docker : true
116141 ryuk-disabled : false
117142
0 commit comments