28
28
timeout-minutes : 60
29
29
30
30
steps :
31
- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
31
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
32
- name : " Add Git safe.directory" # Go 1.18+ started embedding repo info in the build and e.g. building @cdktf/hcl2json fails without this
33
33
run : git config --global --add safe.directory /__w/terraform-cdk/terraform-cdk
34
34
- name : ensure correct user
@@ -40,14 +40,14 @@ jobs:
40
40
echo "yarn=$(yarn cache dir)" >> $GITHUB_OUTPUT
41
41
mkdir -p /usr/local/share/.cache/go
42
42
echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT
43
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
43
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
44
44
with :
45
45
path : ${{ steps.global-cache-dir-path.outputs.yarn }}
46
46
key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration
47
47
restore-keys : |
48
48
yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-
49
49
yarn-${{ runner.os }}-
50
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
50
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
51
51
with :
52
52
path : ${{ steps.global-cache-dir-path.outputs.go }}
53
53
key : go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-integration
@@ -103,7 +103,7 @@ jobs:
103
103
timeout-minutes : 60
104
104
105
105
steps :
106
- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
106
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
107
107
- name : ensure correct user
108
108
run : chown -R root /__w/terraform-cdk
109
109
# Setup caches for yarn, terraform, and go
@@ -116,21 +116,21 @@ jobs:
116
116
mkdir -p /usr/local/share/.cache/go
117
117
echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT
118
118
# only restore as an individual cache as per matrix explodes our cache usage
119
- - uses : actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
119
+ - uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
120
120
with :
121
121
path : ${{ steps.global-cache-dir-path.outputs.yarn }}
122
122
key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration
123
123
restore-keys : |
124
124
yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-
125
125
yarn-${{ runner.os }}-
126
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
126
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
127
127
with :
128
128
path : ${{ steps.global-cache-dir-path.outputs.terraform }}
129
129
# put matrix before integration to not restore caches from other sibling matrix jobs
130
130
key : terraform-${{ runner.os }}-${{ matrix.terraform }}-matrix-integration-${{ matrix.target }}
131
131
restore-keys : |
132
132
terraform-${{ runner.os }}-${{ matrix.terraform }}-
133
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
133
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
134
134
with :
135
135
path : ${{ steps.global-cache-dir-path.outputs.go }}
136
136
# put matrix before integration to not restore caches from other sibling matrix jobs
@@ -176,7 +176,7 @@ jobs:
176
176
timeout-minutes : 60
177
177
178
178
steps :
179
- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
179
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
180
180
# Setup caches for yarn, terraform, and go
181
181
- name : Get cache directory paths
182
182
id : global-cache-dir-path
@@ -188,21 +188,21 @@ jobs:
188
188
mkdir -p /usr/local/share/.cache/go
189
189
echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT
190
190
# only restore as an individual cache as per matrix explodes our cache usage
191
- - uses : actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
191
+ - uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
192
192
with :
193
193
path : ${{ steps.global-cache-dir-path.outputs.yarn }}
194
194
key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration
195
195
restore-keys : |
196
196
yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-
197
197
yarn-${{ runner.os }}-
198
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
198
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
199
199
with :
200
200
path : ${{ steps.global-cache-dir-path.outputs.terraform }}
201
201
# put matrix before integration to not restore caches from other sibling matrix jobs
202
202
key : terraform-${{ runner.os }}-${{ matrix.terraform }}-matrix-integration-${{ matrix.target }}
203
203
restore-keys : |
204
204
terraform-${{ runner.os }}-${{ matrix.terraform }}-
205
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
205
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
206
206
with :
207
207
path : ${{ steps.global-cache-dir-path.outputs.go }}
208
208
# put matrix before integration to not restore caches from other sibling matrix jobs
@@ -219,7 +219,7 @@ jobs:
219
219
- name : Install pipenv
220
220
run : pip install pipenv
221
221
- name : Install Go
222
- uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
222
+ uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
223
223
with :
224
224
go-version : 1.18.x
225
225
cache : false # This is disabled because we don't have a go.sum file and setup-go expects it to use caching. Thus, caching is always broken anyways
0 commit comments