11
11
12
12
steps :
13
13
- name : Checkout SDK repo
14
- uses : actions/checkout@v4
14
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
15
with :
16
16
repository : ' line/line-bot-sdk-java'
17
17
submodules : recursive
28
28
29
29
# https://github.com/line/line-bot-sdk-java/blob/master/.github/workflows/gradle.yml
30
30
- name : Setup Java
31
- uses : actions/setup-java@v3
31
+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
32
32
with :
33
33
distribution : ' temurin'
34
34
java-version : ' 17'
55
55
56
56
steps :
57
57
- name : Checkout SDK repo
58
- uses : actions/checkout@v4
58
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59
59
with :
60
60
repository : ' line/line-bot-sdk-python'
61
61
submodules : recursive
72
72
73
73
# https://github.com/line/line-bot-sdk-python/blob/master/.github/workflows/auto-testing.yml
74
74
- name : Setup Python
75
- uses : actions/setup-python@v4
75
+ uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
76
76
with :
77
77
distribution : ' temurin'
78
78
python-version : ' 3.11'
@@ -108,7 +108,7 @@ jobs:
108
108
109
109
steps :
110
110
- name : Checkout SDK repo
111
- uses : actions/checkout@v4
111
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
112
112
with :
113
113
repository : ' line/line-bot-sdk-php'
114
114
submodules : recursive
@@ -125,14 +125,14 @@ jobs:
125
125
126
126
# https://github.com/line/line-bot-sdk-php/blob/master/.github/workflows/php-checks.yml
127
127
- name : Setup PHP
128
- uses : shivammathur/setup-php@v2
128
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
129
129
with :
130
130
distribution : ' temurin'
131
131
php-version : ' 8.2'
132
132
133
133
- name : Install openapi-generator-cli
134
134
run : echo "OPENAPI_GENERATOR_VERSION=7.11.0" >> $GITHUB_ENV
135
- - uses : actions/cache@v3
135
+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
136
136
id : openapi-generator-cache
137
137
env :
138
138
cache-name : openapi-generator-cache
@@ -157,15 +157,15 @@ jobs:
157
157
run : |
158
158
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
159
159
160
- - uses : actions/cache@v3
160
+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
161
161
with :
162
162
path : ${{ steps.composer-cache.outputs.dir }}
163
163
key : ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
164
164
restore-keys : |
165
165
${{ runner.os }}-php-${{ matrix.php }}-
166
166
167
167
- name : Install dependencies with Composer
168
- uses : ramsey/composer-install@v2
168
+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
169
169
170
170
- name : Show diff
171
171
run : |
@@ -186,7 +186,7 @@ jobs:
186
186
187
187
steps :
188
188
- name : Checkout SDK repo
189
- uses : actions/checkout@v4
189
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
190
190
with :
191
191
repository : ' line/line-bot-sdk-nodejs'
192
192
submodules : recursive
@@ -203,14 +203,14 @@ jobs:
203
203
204
204
# https://github.com/line/line-bot-sdk-nodejs/blob/master/.github/workflows/test.yml
205
205
- name : actions/setup-java@v3
206
- uses : actions/setup-java@v3
206
+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
207
207
with :
208
208
distribution : ' temurin'
209
209
java-version : 17
210
210
architecture : x64
211
211
212
212
- name : Setup Node.js
213
- uses : actions/setup-node@v4
213
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
214
214
with :
215
215
node-version : ' 20'
216
216
@@ -239,7 +239,7 @@ jobs:
239
239
240
240
steps :
241
241
- name : Checkout SDK repo
242
- uses : actions/checkout@v4
242
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
243
243
with :
244
244
repository : ' line/line-bot-sdk-go'
245
245
submodules : recursive
@@ -256,19 +256,19 @@ jobs:
256
256
257
257
# https://github.com/line/line-bot-sdk-go/blob/master/.github/workflows/go.yml
258
258
- name : actions/setup-java@v3
259
- uses : actions/setup-java@v3
259
+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
260
260
with :
261
261
distribution : ' temurin'
262
262
java-version : 17
263
263
architecture : x64
264
264
265
265
- name : Set up Python
266
- uses : actions/setup-python@v4
266
+ uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
267
267
with :
268
268
python-version : ' 3.x'
269
269
270
270
- name : Set up Go
271
- uses : actions/setup-go@v4
271
+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
272
272
with :
273
273
go-version : 1.21
274
274
0 commit comments